Bug#994102: unistd.h: non-null check not correct for getcwd()

2021-09-12 Thread Aurelien Jarno
On 2021-09-12 12:10, Jan-Benedict Glaw wrote: > On Sun, 2021-09-12 00:16:01 +0200, Aurelien Jarno > wrote: > > On 2021-09-11 22:06, Jan-Benedict Glaw wrote: > > > Until glibc's Bugzilla issue is finally resolved > > > (https://sourceware.org/bugzilla/show_bug.cgi?id=26545), maybe the > > >

Bug#994102: unistd.h: non-null check not correct for getcwd()

2021-09-12 Thread Jan-Benedict Glaw
On Sun, 2021-09-12 00:16:01 +0200, Aurelien Jarno wrote: > On 2021-09-11 22:06, Jan-Benedict Glaw wrote: > > Until glibc's Bugzilla issue is finally resolved > > (https://sourceware.org/bugzilla/show_bug.cgi?id=26545), maybe the > > Debian package could be changed to drop the access attribute? >

Bug#994102: unistd.h: non-null check not correct for getcwd()

2021-09-11 Thread Aurelien Jarno
On 2021-09-11 22:06, Jan-Benedict Glaw wrote: > Until glibc's Bugzilla issue is finally resolved > (https://sourceware.org/bugzilla/show_bug.cgi?id=26545), maybe the > Debian package could be changed to drop the access attribute? No. Once we have patched it, we will have to differ from upstream

Bug#994102: unistd.h: non-null check not correct for getcwd()

2021-09-11 Thread Jan-Benedict Glaw
Package: libc6-dev Version: 2.32-2 Current getcwd() is declared as: /usr/include/unistd.h: 513:/* Get the pathname of the current working directory, 514: and put it in SIZE bytes of BUF. Returns NULL if the 515: directory couldn't be determined or SIZE was too small. 516: If successful,