[Top][All Lists]

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

Re: Out of bounds va_arg access in rpl_fcntl

From: Bruno Haible
Subject: Re: Out of bounds va_arg access in rpl_fcntl
Date: Thu, 06 Sep 2018 11:26:55 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-134-generic; KDE/5.18.0; x86_64; ; )

> 2018-09-05  Bruno Haible  <address@hidden>
>       fcntl: Don't access nonexistent optional argument.
>       Reported by Frank Busse <address@hidden> in
>       <https://lists.gnu.org/archive/html/bug-gnulib/2018-09/msg00018.html>.
>       * lib/fcntl.c (rpl_fcntl): For actions that don't take an argument,
>       don't consume an argument. For actions that take an 'int' argument,
>       consume an 'int' argument.

Tested on
  glibc with Linux kernels before 2.6.24, Mac OS X 10.5,
  FreeBSD, NetBSD, OpenBSD,
  AIX 7.1, HP-UX 11, IRIX 6.5, Solaris 11,
  Cygwin, mingw
and pushed.


reply via email to

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