commit | 0afd5de5c1edb4de2cc5e0e2e2e89551c90534fc | [log] [tgz] |
---|---|---|
author | Thomas Hurd <thurd@tresys.com> | Thu Feb 26 09:03:20 2015 -0500 |
committer | Steve Lawrence <slawrence@tresys.com> | Thu Feb 26 11:15:51 2015 -0500 |
tree | 6298e9cfc92e8ac59f214befcd6ab121c2aeec33 | |
parent | 9532291548071c0822389e159c53013e1e368255 [diff] |
libsemanage: Change bunzip to use heap instead of stack for buffer. Fixes segfault on systems with less than 256K stack size. After change, I was able to run semodule -l with a 32K stack size. Additionally, fix potential memory leak on realloc failure. Signed-off-by: Thomas Hurd <thurd@tresys.com> Acked-by: Steve Lawrence <slawrence@tresys.com>