[1003.1(2008)/Issue 7 0000561]: NUL-termination of sun_path in Unix sockets

2023-01-17 Thread Austin Group Bug Tracker via austin-group-l at The Open Group
The following issue has a resolution that has been APPLIED. == https://austingroupbugs.net/view.php?id=561 == Reported By:eblake Assigned To:

[1003.1(2008)/Issue 7 0000561]: NUL-termination of sun_path in Unix sockets

2023-01-09 Thread Austin Group Bug Tracker via austin-group-l at The Open Group
The issue 0001593 has been set as DUPLICATE OF the following issue. == https://austingroupbugs.net/view.php?id=561 == Reported By:eblake Assi

[1003.1(2008)/Issue 7 0000561]: NUL-termination of sun_path in Unix sockets

2023-01-09 Thread Austin Group Bug Tracker via austin-group-l at The Open Group
A NOTE has been added to this issue. == https://austingroupbugs.net/view.php?id=561 == Reported By:eblake Assigned To:ajosey

Re: "null terminator" v. "NUL terminator" (was: [1003.1(2008)/Issue 7 0000561]: NUL-termination of sun_path in Unix sockets)

2022-12-02 Thread Steffen Nurpmeso via austin-group-l at The Open Group
Geoff Clare wrote in : |Steffen Nurpmeso wrote, on 01 Dec 2022: |> Being here, i note an increasing number of "null terminators" for |> strings, which surely is wrong as NULL==(void*)0 (or similar aka |> 0x0, 0, __null, whatever they are doing now and have complained or |> even failed about (

"null terminator" v. "NUL terminator" (was: [1003.1(2008)/Issue 7 0000561]: NUL-termination of sun_path in Unix sockets)

2022-12-02 Thread Geoff Clare via austin-group-l at The Open Group
Steffen Nurpmeso wrote, on 01 Dec 2022: > > Being here, i note an increasing number of "null terminators" for > strings, which surely is wrong as NULL==(void*)0 (or similar aka > 0x0, 0, __null, whatever they are doing now and have complained or > even failed about (?) in the past if misused), wher

Re: [1003.1(2008)/Issue 7 0000561]: NUL-termination of sun_path in Unix sockets

2022-12-01 Thread Steffen Nurpmeso via austin-group-l at The Open Group
If it was not the GNU C library info manual around Y2K which mentioned how a SUN_LEN() has to look like if it is not available. In the accepted text in https://austingroupbugs.net/view.php?id=561, for bind(2), a space is missing in between where and address_len. For AF_UNIX sockets, some impl

Re: [1003.1(2008)/Issue 7 0000561]: NUL-termination of sun_path in Unix sockets

2022-11-30 Thread Steffen Nurpmeso via austin-group-l at The Open Group
Olivier Certner wrote in <9027911.U91TZCKOhC@ravel>: |> Having written that, I did test that 'sizeof(((struct |> sockaddr_un*)0)->sun_path)' compiles with gcc, although I'm less |> certain of whether the C standard permits that (or even if that |> permission has changed over time) - the expres

Re: [1003.1(2008)/Issue 7 0000561]: NUL-termination of sun_path in Unix sockets

2022-11-30 Thread Steffen Nurpmeso via austin-group-l at The Open Group
Eric Blake wrote in <20221130150909.pei323lktieb4...@redhat.com>: |On Wed, Nov 30, 2022 at 08:54:03AM -0600, Eric Blake via austin-group-l \ |at The Open Group wrote: |>> ... |>>|https://austingroupbugs.net/view.php?id=561 |> |> First, I chose that wording because 'sizeof(struct |> socka

Re: [1003.1(2008)/Issue 7 0000561]: NUL-termination of sun_path in Unix sockets

2022-11-30 Thread Olivier Certner via austin-group-l at The Open Group
Hi, > Having written that, I did test that 'sizeof(((struct > sockaddr_un*)0)->sun_path)' compiles with gcc, although I'm less > certain of whether the C standard permits that (or even if that > permission has changed over time) - the expression argument to sizeof > is unevaluated, which counters

Re: [1003.1(2008)/Issue 7 0000561]: NUL-termination of sun_path in Unix sockets

2022-11-30 Thread Eric Blake via austin-group-l at The Open Group
On Wed, Nov 30, 2022 at 08:54:03AM -0600, Eric Blake via austin-group-l at The Open Group wrote: > > ... > > |https://austingroupbugs.net/view.php?id=561 > > First, I chose that wording because 'sizeof(struct > sockaddr_un.sun_path)' doesn't compile. You are right that 'sizeof > NAME.sun_pat

Re: [1003.1(2008)/Issue 7 0000561]: NUL-termination of sun_path in Unix sockets

2022-11-30 Thread Eric Blake via austin-group-l at The Open Group
On Mon, Nov 28, 2022 at 07:30:36PM +0100, Steffen Nurpmeso via austin-group-l at The Open Group wrote: > Austin Group Bug Tracker wrote in > : > ... > |https://austingroupbugs.net/view.php?id=561 > ... > |-- > | (0006085)

Re: [1003.1(2008)/Issue 7 0000561]: NUL-termination of sun_path in Unix sockets

2022-11-28 Thread Steffen Nurpmeso via austin-group-l at The Open Group
Austin Group Bug Tracker wrote in : ... |https://austingroupbugs.net/view.php?id=561 ... |-- | (0006085) geoffclare (manager) - 2022-11-28 16:24 | https://austingroupbugs.net/view.php?id=561#c6085 |--

[1003.1(2008)/Issue 7 0000561]: NUL-termination of sun_path in Unix sockets

2022-11-28 Thread Austin Group Bug Tracker via austin-group-l at The Open Group
The following issue has been RESOLVED. == https://austingroupbugs.net/view.php?id=561 == Reported By:eblake Assigned To:ajose

[1003.1(2008)/Issue 7 0000561]: NUL-termination of sun_path in Unix sockets

2022-11-28 Thread Austin Group Bug Tracker via austin-group-l at The Open Group
A NOTE has been added to this issue. == https://austingroupbugs.net/view.php?id=561 == Reported By:eblake Assigned To:ajosey

[1003.1(2008)/Issue 7 0000561]: NUL-termination of sun_path in Unix sockets

2022-07-20 Thread Austin Group Bug Tracker via austin-group-l at The Open Group
The following issue has been set as RELATED TO issue 0001593. == https://austingroupbugs.net/view.php?id=561 == Reported By:eblake Assigned T