Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Oct 2015 21:01:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 203647] makefs: Coverity CID 978431: No free() after malloc().
Message-ID:  <bug-203647-8-l1RyyH8Fgr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-203647-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-203647-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203647

--- Comment #2 from scdbackup@gmx.net ---
It looks like it is still in lines 214+215.
The variable buffer_head (=buffer) is used in the return statement
and thus cannot be freed before the context gets dropped.

http://cvsweb.netbsd.org/bsdweb.cgi/src/usr.sbin/makefs/cd9660/cd9660_write.c?annotate=1.15.6.2

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203647-8-l1RyyH8Fgr>