lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 6 Dec 2017 10:11:27 +0000
From:   David Laight <David.Laight@...LAB.COM>
To:     'Arnd Bergmann' <>,
        Alexander Viro <>,
        Ingo Molnar <>,
        Peter Zijlstra <>
CC:     Kees Cook <>, Serge Hallyn <>,
        "James Morris" <>,
        Andrew Morton <>,
        Aleksa Sarai <>,
        "Eric W. Biederman" <>,
        Frederic Weisbecker <>,
        Thomas Gleixner <>,
        "" <>,
        "" <>
Subject: RE: [PATCH v2] exec: avoid gcc-8 warning for get_task_comm

From: Arnd Bergmann
> Sent: 05 December 2017 15:17
> gcc-8 warns about using strncpy() with the source size as the limit:

Hmmm... Someone 'fixed' some of those in the NetBSD tree a few years back.
There was one place where the code was correct.
A potentially unterminated string was being copied into a buffer that was
one byte longer.


Powered by blists - more mailing lists