summaryrefslogtreecommitdiffstats
path: root/lib/libalpm
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-07-25 17:05:36 +0200
committerDan McGee <dan@archlinux.org>2011-07-25 17:07:48 +0200
commit88644e181db49f3f94e6891166823fd5f46acbcc (patch)
tree06fc9a0a97cc51db4bd90a831b94a85af15a938d /lib/libalpm
parent005eab0a080925d0d6f780d751f9019dafbafc64 (diff)
downloadpacman-88644e181db49f3f94e6891166823fd5f46acbcc.tar.gz
pacman-88644e181db49f3f94e6891166823fd5f46acbcc.tar.xz
Fix group selection entry for large inputs
Hardcoding anything always ends up burning you, and the arbitrary length of 64 here did just that. Add the ability to reallocate the readline buffer for longer inputs if necessary, and add other error checking as approprate. This also plugs one small memory leak of the group processing code selection array. Addresses FS#24253. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
0 files changed, 0 insertions, 0 deletions