Re: probable UB in recently accepted text

2023-07-29 Thread Harald van Dijk via austin-group-l at The Open Group
On 28/07/2023 21:51, Thorsten Glaser via austin-group-l at The Open Group wrote: Davin McCall via austin-group-l at The Open Group dixit: Since the operand isn't evaluated, there is no null pointer dereference. It is That’s what I told them, but they weren’t convinced. This has been

Re: probable UB in recently accepted text

2023-07-29 Thread Davin McCall via austin-group-l at The Open Group
On 29/7/23 6:51 am, Thorsten Glaser wrote: If the type of the operand is a variable length array type, the operand is evaluated; otherwise, the operand is not evaluated and the Yeah ouch, so it can easily become UB even here already… I do not believe so, since the relevant field is not (and