[pacman-dev] [PATCH] initialize pointers passed to _alpm_pkg_dup

Allan McRae allan at archlinux.org
Fri Jan 2 01:53:17 UTC 2015

On 02/01/15 11:46, Allan McRae wrote:
> On 02/01/15 10:00, Andrew Gregory wrote:
>> _alpm_pkg_dup leaves the destination pointer unaltered in case of fatal
>> errors, so when commits 2f0ca00e and be4198b3 freed the pointer, they
>> fixed a memory leak on non-fatal errors by replacing it with
>> a segmentation fault on fatal errors.

Patch has been explained to me.   Ack.

More information about the pacman-dev mailing list