diff options
author | Dan McGee <dan@archlinux.org> | 2011-07-25 17:05:36 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-07-25 17:07:48 +0200 |
commit | 88644e181db49f3f94e6891166823fd5f46acbcc (patch) | |
tree | 06fc9a0a97cc51db4bd90a831b94a85af15a938d /lib/libalpm/group.h | |
parent | 005eab0a080925d0d6f780d751f9019dafbafc64 (diff) | |
download | pacman-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/group.h')
0 files changed, 0 insertions, 0 deletions