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>
3 files changed