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