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

VMiklos vmiklos at frugalware.org
Fri Jan 13 18:57:15 EST 2006


hi

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
  old:
  $ sudo pacman -Syu
  :: Synchronizing package databases...
   frugalware-current is up to date
   extra-current is up to date
  :: Starting local database upgrade...
  :: Replace nfsidmap with frugalware-current/libnfsidmap? [Y/n]
  :: Replace trm with frugalware-current/libtunepimp? [Y/n]
  resolving dependencies...
  warning: possible dependency cycle detected
  done.
  looking for inter-conflicts... :: net-tools conflicts with hotplug. Remove hotplug? [Y/n]
  :: udev conflicts with pcmcia-cs. Remove pcmcia-cs? [Y/n]
  done.
  [debug] here i am: nfsidmap
  error: failed to prepare transaction (could not satisfy dependencies)
  :: : requires  PO
  *** glibc detected *** double free or corruption (out): 0x084f8a68 ***
  new:
  error: failed to prepare transaction (could not satisfy dependencies)
  :: nfsidmap: requires nfs-utils

udv / greetings,
VMiklos

-- 
Developer of Frugalware Linux, to make things frugal - http://frugalware.org




More information about the pacman-dev mailing list