Menu

#46 crash due to freeing uninitialized variable

open
nobody
None
5
2012-12-09
2012-05-11
No

See https://bugzilla.redhat.com/show_bug.cgi?id=819558 for details + patch from Rob Crittenden.

Error path is:

1. authHdrValue in setupCurlSession() is uninitialized
2. curl_easy_setopt() in setupAuth() succeeds (rc == CURLE_OK) --> authHdrValueP stays uninitialized
3. xmlrpc_strfree(authHdrValue) in setupCurlSession() is executed --> crash

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.