On 6/10/13 8:12 PM, Michael Rash wrote:
> Hello all,
>
> fwknop-2.5-pre2 is available:
>
> http://www.cipherdyne.org/fwknop/download/fwknop-2.5-pre2.tar.gz
>
> sha1: ea607734d3062c855419b8bb8700b12abd262080
>
> Since -pre1, this release has a bunch of documentation updates, a few bug
> fixes
> found by Coverity (fwknop now has a Coverity defect score of zero), a
> comprehensive
> client command line -> rc file stanza saving capability (thanks to Franck),
> and more.
On a 10.7 64-bit Intel Mac OS X system, getting these warnings from clang:
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I..
-I/opt/local-10.7-2012-08/include -I ../common
-I/opt/local-10.7-2012-08/include
-pipe -O2 -arch x86_64 -Wall -Wformat -Wformat-securit
y -fstack-protector-all -fstack-protector -D_FORTIFY_SOURCE=2 -MT md5.lo -MD
-MP
-MF .deps/md5.Tpo -c md5.c -fno-common -DPIC -o .libs/md5.o
md5.c:51:6: warning: Undetermined or unsupported Byte Order... We will try
LITTLE_ENDIAN [-W#warnings]
#warning Undetermined or unsupported Byte Order... We will try
LITTLE_ENDIAN
^
1 warning generated.
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I.
-I.. -I/opt/local-10.7-2012-08/include -I ../common
-I/opt/local-10.7-2012-08/include -pipe -O2 -arch x86_64 -Wall -Wformat
-Wformat-security -fstack-protector-all -fstack-protector -fPIE
-D_FORTIFY_SOURCE=2 -MT sha1.lo -MD -MP -MF .deps/sha1.Tpo -c -o sha1.lo sha1.c
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I..
-I/opt/local-10.7-2012-08/include -I ../common
-I/opt/local-10.7-2012-08/include
-pipe -O2 -arch x86_64 -Wall -Wformat -Wformat-security -fstack-protector-all
-fstack-protector -D_FORTIFY_SOURCE=2 -MT sha1.lo -MD -MP -MF .deps/sha1.Tpo -c
sha1.c -fno-common -DPIC -o .libs/sha1.o
sha1.c:104:11: warning: shift count >= width of type [-Wshift-count-overflow]
T >>= 32;
^ ~~
1 warning generated.
/usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I ../lib -I ../common
-I/opt/local-10.7-2012-08/include -pipe -O2 -arch x86_64 -Wall -Wformat
-Wformat-security -fstack-protector-all -fstack-protector -fPIE
-D_FORTIFY_SOURCE=2 -MT fwknop-fwknop.o -MD -MP -MF .deps/fwknop-fwknop.Tpo -c
-o fwknop-fwknop.o `test -f 'fwknop.c' || echo './'`fwknop.c
fwknop.c:952:61: warning: size argument in 'strlcpy' call appears to be size of
the source; expected the size of the destination [-Wstrlcpy-strlcat-size]
strlcpy(argv_new[argc_new], arg_tmp, strlen(arg_tmp)+1);
~~~~~~~^~~~~~~~~~
/usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I ../lib -I ../common
-I/opt/local-10.7-2012-08/include -pipe -O2 -arch x86_64 -Wall -Wformat
-Wformat-security -fstack-protector-all -fstack-protector -fPIE
-D_FORTIFY_SOURCE=2 -MT fwknop-config_init.o -MD -MP -MF
.deps/fwknop-config_init.Tpo -c -o fwknop-config_init.o `test -f
'config_init.c'
|| echo './'`config_init.c
config_init.c:1987:62: warning: size argument in 'strlcpy' call appears to be
size of the source; expected the size of the destination
[-Wstrlcpy-strlcat-size]
strlcpy(options->resolve_url, optarg, strlen(optarg)+1);
~~~~~~~^~~~~~~~~
1 warning generated.
Blair
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fwknop-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fwknop-discuss