Re: [systemd-devel] [EXT] Initialization of "vbuf" in function "token_match_attr"

2020-09-08 Thread Josef Möllers
On 08.09.20 16:03, Amit anand wrote: > Hi, > > On Tue, Sep 8, 2020 at 6:23 PM Ulrich Windl > > wrote: > > Hi! > > vbuf is initialized: It has some address on the stack, so "if > (value != vbuf)" is comparing adresses, if I got it right... > >

Re: [systemd-devel] Antw: [EXT] Initialization of "vbuf" in function "token_match_attr"

2020-09-08 Thread Josef Möllers
On 08.09.20 14:53, Ulrich Windl wrote: > Hi! > > vbuf is initialized: It has some address on the stack, so "if (value != > vbuf)" is comparing adresses, if I got it right... You got it right, but I stumble across this (in essence): char vbuf[UTIL_NAME_SIZE]; char **value; if (value != vbuf)