Re: variable initialisation for userland program

2013-06-14 Thread Janne Johansson
Variables declared outside of (before) main() have zero for contents if not specified. 2013/6/14 sven falempin > Hello > > Does the chain automatically set a parameter so C var are set to zero by > default ? > > curl http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/nc/netcat > .c?rev=1.112;con

variable initialisation for userland program

2013-06-14 Thread sven falempin
Hello Does the chain automatically set a parameter so C var are set to zero by default ? curl http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/nc/netcat .c?rev=1.112;content-type=text%2Fplain > grep Sflag If I compile this in release Slfag has a random value when tested or the value 1 if the fl