[SERVER-23504] Coverity analysis defect 98177: Resource leak Created: 04/Apr/16 Updated: 23/Nov/16 Resolved: 04/Apr/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | WiredTiger |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.6, 3.3.5 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Coverity Collector User | Assignee: | Keith Bostic (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | code-only, coverity | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Backport Completed: | |
| Participants: |
| Description |
|
Leak of memory or pointers to system resources Defect 98177 (STATIC_C)
/src/third_party/wiredtiger/src/cursor/cur_backup.c, line: 475
|
| Comments |
| Comment by Githook User [ 14/Apr/16 ] |
|
Author: {u'name': u'Ramon Fernandez', u'email': u'ramon@mongodb.com'}Message: Import wiredtiger-wiredtiger-2.8.0-201-g7ea2631.tar.gz from wiredtiger branch mongodb-3.2 ref: 43e885a..7ea2631
|
| Comment by Githook User [ 07/Apr/16 ] |
|
Author: {u'username': u'agorrod', u'name': u'Alex Gorrod', u'email': u'alexander.gorrod@mongodb.com'}Message: Merge pull request #2631 from wiredtiger/server-23504
|
| Comment by Githook User [ 07/Apr/16 ] |
|
Author: {u'username': u'keithbostic', u'name': u'Keith Bostic', u'email': u'keith@wiredtiger.com'}Message: Don't leak the variable value if the call to __wt_fprintf fails. |
| Comment by Githook User [ 05/Apr/16 ] |
|
Author: {u'username': u'agorrod', u'name': u'Alex Gorrod', u'email': u'alexg@wiredtiger.com'}Message: Import wiredtiger-wiredtiger-2.8.0-134-g5047aab.tar.gz from wiredtiger branch mongodb-3.4 ref: 9cf8eb2..5047aab
|
| Comment by Githook User [ 05/Apr/16 ] |
|
Author: {u'username': u'agorrod', u'name': u'Alex Gorrod', u'email': u'alexander.gorrod@mongodb.com'}Message: Merge pull request #2631 from wiredtiger/server-23504
|
| Comment by Githook User [ 05/Apr/16 ] |
|
Author: {u'username': u'keithbostic', u'name': u'Keith Bostic', u'email': u'keith@wiredtiger.com'}Message: Don't leak the variable value if the call to __wt_fprintf fails. |
| Comment by Githook User [ 04/Apr/16 ] |
|
Author: {u'username': u'agorrod', u'name': u'Alex Gorrod', u'email': u'alexander.gorrod@mongodb.com'}Message: Merge pull request #2631 from wiredtiger/server-23504
|
| Comment by Githook User [ 04/Apr/16 ] |
|
Author: {u'username': u'keithbostic', u'name': u'Keith Bostic', u'email': u'keith@wiredtiger.com'}Message: Don't leak the variable value if the call to __wt_fprintf fails. |
| Comment by Eric Milkie [ 04/Apr/16 ] |
|
I think it's saying that the fprintf() can fail, and when it does, we return early and miss the free of the variable named "value". |