[pacman-dev] [PATCH] libalpm: don't FREELIST() deps in sync_prepare on error

Aurelien Foret aurelien at archlinux.org
Sun Jan 15 13:50:26 EST 2006

VMiklos wrote:
> http://frugalware.org/~vmiklos/patches/libpacman-proposed/sync_prepare_doublefree.diff
>   as the data pointer is passed back to the frontend on error,
>   the frontend will alpm_list_free() deps
>   in other words: a double free() fix

I've reworked the code checking deps for packages elected for removal 
during sync transactions, and the issue is now avoided.

Thanks for the heads up.

More information about the pacman-dev mailing list