Hi!

In function cap_from_text() of libcap-1.10/libcap/cap_text.c:


bad:
cap_free(&res);
errno = EINVAL;
return NULL;


I think it should be cap_free(res). If you turn _cap_debug on, and give
cap_from_text() an invalid capability text, you'll see "don't recognize
what we're supposed to liberate". This bug also exists in Kaigai Kohei's
libcap with VFS Capability Support.


Best regards,

hao
-
To unsubscribe from this list: send the line "unsubscribe 
linux-security-module" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to