commit | c2a25909b2c4d989e49cdedcac4dd52c45f0570b | [log] [tgz] |
---|---|---|
author | Andrew G. Morgan <morgan@kernel.org> | Thu Jan 24 11:14:20 2008 -0800 |
committer | Jorge Lucangeli Obes <jorgelo@google.com> | Thu Sep 03 14:13:03 2015 -0700 |
tree | a28ef5734c4b09953567398ff90ce4bfce8015d1 | |
parent | 973e826b0e6a4c9802a10140142f9532a592e8fa [diff] |
Fix malloc(size) but in capsh and numeric capabilities (for unnamed bits) capsh allocated too little memory for the --inh argument - led to glibc aborting with free(). libcap has always had latent support for identifying unnamed capabilities with integers. It was untested (and therefore broken) prior to this commit. Should be fixed now. Signed-off-by: Andrew G. Morgan <morgan@kernel.org>