bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Out of bounds va_arg access in rpl_fcntl


From: Paul Eggert
Subject: Re: Out of bounds va_arg access in rpl_fcntl
Date: Wed, 5 Sep 2018 15:36:54 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Thanks for looking into that. One question, though:

+            /* These actions take no argument.  */
+            result = fcntl (fd, action, NULL);
+            break;

If an action takes no argument, why pass one? Couldn't that run into more static-error complaints and/or technical violations of POSIX?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]