[pacman-dev] [PATCH v3 0/4] pacman/upgrade

Sören Brinkmann soeren.brinkmann at gmail.com
Tue Mar 11 22:29:19 EDT 2014


So, Andrew urged me to dive a little deeper into this and here's the
result. On top of the original fix for the potential NULL-pointer
dereference there are three more patches now. Those address the memory
management and error paths in the upgrade code.

	Sören

Sören Brinkmann (4):
  pacman/upgrade: Check malloc() return value
  pacman/upgrade: Refactor memory management
  pacman/upgrade: Fix memory leaks
  pacman/upgrade: Bail early on errors

 src/pacman/upgrade.c | 52 ++++++++++++++++++++++++++++++++--------------------
 1 file changed, 32 insertions(+), 20 deletions(-)

-- 
1.9.0



More information about the pacman-dev mailing list