[grsec] ptrace denied returns unintialized value?
Brad Spengler
spender at grsecurity.net
Wed Oct 10 17:11:17 EDT 2007
> It looks to me that it might return an unintiliaized value of "ret".
> Shouldn't it be:
Thanks for spotting it. Your fix below is correct and will be included
in the next 2.6 patch.
>
> if (gr_handle_ptrace(child, request)) {
> ret = -EPERM;
> goto out;
> }
-Brad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://grsecurity.net/pipermail/grsecurity/attachments/20071010/6fe86045/attachment.pgp
More information about the grsecurity
mailing list