Send inn-workers mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.isc.org/mailman/listinfo/inn-workers
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of inn-workers digest..."
Today's Topics:
1. two resource leaks in 2.5.3 (David Binderman)
2. timecaf/caf.c:1568: use of variable after free (David Binderman)
----------------------------------------------------------------------
Message: 1
Date: Sun, 16 Jun 2013 20:27:25 +0000
From: David Binderman <[email protected]>
To: "[email protected]" <[email protected]>
Subject: two resource leaks in 2.5.3
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"
Hello there,
Static analysis tool "cppcheck" found the following two resource leaks
[clientactive.c:77]: (error) Resource leak: F
[nnrpd/misc.c:338]: (error) Resource leak: fp
I've checked them both and they look like leaks to me.
Regards
David Binderman
------------------------------
Message: 2
Date: Sun, 16 Jun 2013 21:38:24 +0000
From: David Binderman <[email protected]>
To: "[email protected]" <[email protected]>
Subject: timecaf/caf.c:1568: use of variable after free
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"
Hello there,
cppcheck also found this little problem:
[timecaf/caf.c:1568]: (error) Dereferencing 'newpath' after it is deallocated
/? released
Source code is
??????? free(newpath);
??????? fclose(infile);
??????? unlink(newpath);
Suggest put unlink before free.
Regards
David Binderman
------------------------------
_______________________________________________
inn-workers mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/inn-workers
End of inn-workers Digest, Vol 52, Issue 4
******************************************