- changed status to wontfix
[OpenSSL-1.0.2] TNF local patch - gcc -fstack-protector + alloca(3)
Issue #148
resolved
TNF local patch audit
- dist/crypto/bn/bn_exp.c
- dist/engines/e_padlock.c
original commit message:
http://mail-index.netbsd.org/source-changes/2012/07/27/msg036000.html
http://mail-index.netbsd.org/source-changes/2012/07/30/msg036083.html
http://mail-index.netbsd.org/source-changes/2012/07/30/msg036084.html
Comments (3)
-
reporter -
reporter - changed status to open
N/vax fail to build.
--- bn_exp.o --- # compile libcrypto/bn_exp.o /usr/tooldir/bin/vax--netbsdelf-gcc -O1 -fgcse -fstrength-reduce -fgcse-after-reload -std=gnu99 -Werror -fstack-protector -Wstack-protector --param ssp-buffer-size=1 --sysroot=/usr/src/obj.vax/destdir.vax -Dlibcrypto -I. -I/usr/src/crypto/external/bsd/openssl/dist/crypto -I/usr/src/crypto/external/bsd/openssl/dist -I/usr/src/crypto/external/bsd/openssl/dist/crypto/asn1 -I/usr/src/crypto/external/bsd/openssl/dist/crypto/evp -I/usr/src/crypto/external/bsd/openssl/dist/crypto/modes -DDSO_DLFCN -DHAVE_DLFCN_H -D_FORTIFY_SOURCE=2 -c -I/usr/src/crypto/external/bsd/openssl/dist/crypto/bn /usr/src/crypto/external/bsd/openssl/dist/crypto/bn/bn_exp.c -o bn_exp.o cc1: warnings being treated as errors /usr/src/crypto/external/bsd/openssl/dist/crypto/bn/bn_exp.c: In function 'BN_mod_exp_mont_consttime': /usr/src/crypto/external/bsd/openssl/dist/crypto/bn/bn_exp.c:698: warning: not protecting local variables: variable length buffer *** [bn_exp.o] Error code 1 nbmake: stopped in /usr/src/crypto/external/bsd/openssl/lib/libcrypto
-
reporter - changed status to resolved
BUGFIX: Issue
- fix build error caused by alloca(3). it may cause build failure when specified -fstack-protector -Wstack-protector -Werror, so shut up warnig.#148→ <<cset b5c15fbc09bb5d695c0948f36277989094159cb0>>
- Log in to comment
i don't like alloca(3) for security reason. but alloca(3) is ok for using with stack protector.