[1282] in BarnOwl Developers
[nelhage/barnowl] e97c4a: util.c: Fix double-free from owl_zephyr_delsub.
daemon@ATHENA.MIT.EDU (noreply@github.com)
Thu Oct 29 18:14:56 2009
Resent-From: nelhage@mit.edu
Resent-To: barnowl-dev-mtg@charon.mit.edu
X-Original-To: nelhage@lunatique.mit.edu
Date: Mon, 2 Feb 2009 10:27:39 -0800
To: dirty-owl-hackers@mit.edu
From: noreply@github.com
Branch: refs/heads/master
Home: http://github.com/nelhage/barnowl
Commit: e97c4a306ae2c9d2147d83da29fee59918198e70
http://github.com/nelhage/barnowl/commit/e97c4a306ae2c9d2147d83da29fee59918198e70
Author: Geoffrey Thomas <geofft@mit.edu>
Date: 2009-02-02 (Mon, 02 Feb 2009)
Changed paths:
M util.c
Log Message:
-----------
util.c: Fix double-free from owl_zephyr_delsub.
Also fix general memory-handling incompetence, including a use-after-free and a
leak. There are probably still errors here; we should rewrite the whole
function as per the comment at the top.
Reported-by: Quentin Smith <quentin@mit.edu>
Signed-off-by: Geoffrey Thomas <geofft@mit.edu>