Bruno Haible wrote:
> About the exec* functions:
>> Ad 1):
>> > I suggest you declare those functions with the "nonnull" attribute.
>>
>> Good idea. I reported this to glibc:
>>   <http://sourceware.org/bugzilla/show_bug.cgi?id=11056>
>
> It has been committed: gcc+glibc will now warn if a user uses a NULL
> argv array in an execv* call or a NULL argv[0] in an execl* call.
>
> But the gcc warnings can cover only 7 out of 11 cases. Therefore the kernel
> behaviour is more important. Is there anyone who could help out and test the
> proposed Linux kernel patch?

I'd volunteer, but have too much on my plate for the next few days.


Reply via email to