[ libetpan-Patches-2918372 ] memory allocation checks wrong variable for NULL
"SourceForge.net" <[email protected]> Mon, 21 Dec 2009 01:30:32 +0000
| Newsgroups | gmane.mail.libetpan.user |
|---|---|
| Message-ID | <[email protected]> |
Patches item #2918372, was opened at 2009-12-20 17:30 Message generated for change (Tracker Item Submitted) made by hawk777 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=429698&aid=2918372&group_id=41064 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: IMAP4 Group: Latest development - libEtPan! Status: Open Resolution: None Priority: 5 Private: No Submitted By: Chris Head (hawk777) Assigned to: Nobody/Anonymous (nobody) Summary: memory allocation checks wrong variable for NULL Initial Comment: A function is called which allocates memory and returns NULL if that allocation fails. The return value of the function is assigned to (*result), but then (result) is checked for NULL rather than (*result). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=429698&aid=2918372&group_id=41064 ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev