Changed status to 'unread'. I'm not chatting.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
Mar 6 2015
Changed status to 'unread'. I'm not chatting.
Changed status to 'unread'. I'm not chatting.
Updated cert.c which initializes the variable algo.
The following still harbors undefined behavior, but I did not want to touch it
due to fears of breaking the zeoizer:
cipher-gcm.c:1144:7: runtime error: store to misaligned address...
cipher-gcm.c:1145:7: runtime error: store to misaligned address...
cipher-gcm.c:1146:7: runtime error: store to misaligned address...
wipememory (c->u_mode.gcm.tagiv, GCRY_GCM_BLOCK_LEN); // Line 1144 wipememory (c->u_mode.gcm.aadlen, sizeof (c->u_mode.gcm.aadlen)); // Line 1145 wipememory (c->u_mode.gcm.datalen, sizeof (c->u_mode.gcm.datalen)); //
Line 1146
cipher-ccm.c:280:7: runtime error: store to misaligned address...
wipememory (c->u_mode.ccm.macbuf, 16); // Line 280
Attached is the script I am using to acceptance test the suite. It requires
Clang 3.5 (Clang 3.5 recipe was provided with Bug 1872).
Added updated gost28147.c that removes the undefined behavior.
Added updated buf.help.h that removes the undefined behavior.
Updated status to 'unread'. I'm not chatting.
Updated to include line numbers.
54400==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 240 byte(s) in 12 object(s) allocated from:
#0 0x49f45b in __interceptor_malloc
/home/gpg-user/Clang-3.5/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:40:3
#1 0x5462d0 in _ksba_oid_to_str
/home/gpg-user/gcrypt-2.0-sanitize/libksba-1.3.2/src/oid.c:75:16
#2 0x4bcce9 in main
/home/gpg-user/gcrypt-2.0-sanitize/libksba-1.3.2/tests/t-oid.c:164:7
#3 0x2b8edcf1aec4 in __libc_start_main
/build/buildd/eglibc-2.19/csu/libc-start.c:287
Direct leak of 58 byte(s) in 2 object(s) allocated from:
#0 0x49f45b in __interceptor_malloc
/home/gpg-user/Clang-3.5/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:40:3
#1 0x5570e4 in _ksba_strdup
/home/gpg-user/gcrypt-2.0-sanitize/libksba-1.3.2/src/util.c:162:13
#2 0x4bcce9 in main
/home/gpg-user/gcrypt-2.0-sanitize/libksba-1.3.2/tests/t-oid.c:164:7
#3 0x2b8edcf1aec4 in __libc_start_main
/build/buildd/eglibc-2.19/csu/libc-start.c:287
SUMMARY: AddressSanitizer: 298 byte(s) leaked in 14 allocation(s).
FAIL: t-oid
1 of 4 tests failed
Please report to http://bugs.gnupg.org
Updated status to 'unread'. I'm not chatting.
Updated status to 'unread'. I'm not chatting.
Updated status to 'unread'. I'm not chatting.
Here's the updated output with line numbers.
51121==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 12 byte(s) in 1 object(s) allocated from:
#0 0x49f22b in __interceptor_malloc
/home/gpg-user/Clang-3.5/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:40:3
#1 0x4dc25a in socketpair_connect
/home/gpg-user/gcrypt-2.0-sanitize/libassuan-2.2.0/src/assuan-pipe-connect.c:317:15
#2 0x4bdec1 in main
/home/gpg-user/gcrypt-2.0-sanitize/libassuan-2.2.0/tests/fdpassing.c:291:13
#3 0x2afdc8bddec4 in __libc_start_main
/build/buildd/eglibc-2.19/csu/libc-start.c:287
Direct leak of 7 byte(s) in 1 object(s) allocated from:
#0 0x49f22b in __interceptor_malloc
/home/gpg-user/Clang-3.5/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:40:3
#1 0x4bc978 in xmalloc
/home/gpg-user/gcrypt-2.0-sanitize/libassuan-2.2.0/tests/./common.h:62:13
#2 0x2afdc8bddec4 in __libc_start_main
/build/buildd/eglibc-2.19/csu/libc-start.c:287
SUMMARY: AddressSanitizer: 19 byte(s) leaked in 2 allocation(s).
51122==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 3784 byte(s) in 1 object(s) allocated from:
#0 0x49f22b in __interceptor_malloc
/home/gpg-user/Clang-3.5/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:40:3
#1 0x4bed76 in assuan_new_ext
/home/gpg-user/gcrypt-2.0-sanitize/libassuan-2.2.0/src/assuan.c:134:11
#2 0x4bde6f in main
/home/gpg-user/gcrypt-2.0-sanitize/libassuan-2.2.0/tests/fdpassing.c:287:13
#3 0x2afdc8bddec4 in __libc_start_main
/build/buildd/eglibc-2.19/csu/libc-start.c:287
Direct leak of 7 byte(s) in 1 object(s) allocated from:
#0 0x49f22b in __interceptor_malloc
/home/gpg-user/Clang-3.5/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:40:3
#1 0x4bc978 in xmalloc
/home/gpg-user/gcrypt-2.0-sanitize/libassuan-2.2.0/tests/./common.h:62:13
#2 0x2afdc8bddec4 in __libc_start_main
/build/buildd/eglibc-2.19/csu/libc-start.c:287
SUMMARY: AddressSanitizer: 3791 byte(s) leaked in 2 allocation(s).
FAIL: fdpassing
Attached is the script I am using to acceptance test the suite. It requires
Clang 3.5 (Clang 3.5 recipe was provided with Bug 1872).
Attached is the script I am using to acceptance test the suite. It requires
Clang 3.5 (Clang 3.5 recipe was provided with Bug 1872).
Closing. My test script overwrote the symbols/optimization flags with the Clang
sanitziers.
Attached is the script I am using to acceptance test the suite. It requires
Clang 3.5 (Clang 3.5 recipe was provided with Bug 1872).