Page MenuHome GnuPG
Feed Advanced Search

Mar 6 2015

JW added a comment to T1881: Undefined behavior when running `make check` under Clang sanitizers.

Mar 6 2015, 5:39 AM · Bug Report, libgcrypt
JW added a comment to T1881: Undefined behavior when running `make check` under Clang sanitizers.

Added updated gost28147.c that removes the undefined behavior.

Mar 6 2015, 5:38 AM · Bug Report, libgcrypt
JW added a comment to T1881: Undefined behavior when running `make check` under Clang sanitizers.

Mar 6 2015, 5:38 AM · Bug Report, libgcrypt
JW added a comment to T1881: Undefined behavior when running `make check` under Clang sanitizers.

Added updated buf.help.h that removes the undefined behavior.

Mar 6 2015, 5:37 AM · Bug Report, libgcrypt
JW set Version to 1.6.3 on T1881: Undefined behavior when running `make check` under Clang sanitizers.
Mar 6 2015, 5:37 AM · Bug Report, libgcrypt
JW added a comment to T1881: Undefined behavior when running `make check` under Clang sanitizers.

Mar 6 2015, 5:37 AM · Bug Report, libgcrypt
JW added projects to T1881: Undefined behavior when running `make check` under Clang sanitizers: libgcrypt, Bug Report.
Mar 6 2015, 5:37 AM · Bug Report, libgcrypt
JW added a comment to T1876: Memory leaks when running `make check` under Clang sanitizers.

Updated status to 'unread'. I'm not chatting.

Mar 6 2015, 5:16 AM · Mistaken, Bug Report, libksba
JW reopened T1876: Memory leaks when running `make check` under Clang sanitizers as "Open".
Mar 6 2015, 5:16 AM · Mistaken, Bug Report, libksba
JW closed T1876: Memory leaks when running `make check` under Clang sanitizers as Resolved.
Mar 6 2015, 5:15 AM · Mistaken, Bug Report, libksba
JW added a comment to T1876: Memory leaks when running `make check` under Clang sanitizers.

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

Mar 6 2015, 5:15 AM · Mistaken, Bug Report, libksba
JW added a comment to T1877: Undefined behavior when running `make check` under Clang sanitizers.

Updated status to 'unread'. I'm not chatting.

Mar 6 2015, 5:13 AM · Duplicate, Bug Report, libgcrypt
JW closed T1877: Undefined behavior when running `make check` under Clang sanitizers as Resolved.
Mar 6 2015, 5:13 AM · Duplicate, Bug Report, libgcrypt
JW added a comment to T1874: Memory leaks when running `make check` under Clang sanitizers.

Updated status to 'unread'. I'm not chatting.

Mar 6 2015, 5:13 AM · Mistaken, Bug Report, libassuan
JW closed T1875: Autotools does not honor CFLAGS="-g3 -O1" as Resolved.
Mar 6 2015, 5:12 AM · Bug Report
JW closed T1873: Test suite built without symbols as Resolved.
Mar 6 2015, 5:12 AM · Bug Report, libgcrypt
JW added projects to T1880: warning: implicit declaration of function: libksba, Bug Report.
Mar 6 2015, 5:11 AM · Not A Bug, Bug Report, libksba
JW set Version to 1.3.2 on T1880: warning: implicit declaration of function.
Mar 6 2015, 5:11 AM · Not A Bug, Bug Report, libksba
JW added a comment to T1874: Memory leaks when running `make check` under Clang sanitizers.

Updated status to 'unread'. I'm not chatting.

Mar 6 2015, 5:08 AM · Mistaken, Bug Report, libassuan
JW added a comment to T1874: Memory leaks when running `make check` under Clang sanitizers.

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

Mar 6 2015, 5:08 AM · Mistaken, Bug Report, libassuan
JW added a comment to T1877: Undefined behavior when running `make check` under Clang sanitizers.

Mar 6 2015, 4:56 AM · Duplicate, Bug Report, libgcrypt
JW added a comment to T1877: Undefined behavior when running `make check` under Clang sanitizers.

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).

Mar 6 2015, 4:56 AM · Duplicate, Bug Report, libgcrypt
JW added a comment to T1876: Memory leaks when running `make check` under Clang sanitizers.

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).

Mar 6 2015, 4:55 AM · Mistaken, Bug Report, libksba
JW added a comment to T1876: Memory leaks when running `make check` under Clang sanitizers.

Mar 6 2015, 4:55 AM · Mistaken, Bug Report, libksba
JW reopened T1873: Test suite built without symbols as "Open".
Mar 6 2015, 4:55 AM · Bug Report, libgcrypt
JW added a comment to T1873: Test suite built without symbols.

Closing. My test script overwrote the symbols/optimization flags with the Clang
sanitziers.

Mar 6 2015, 4:55 AM · Bug Report, libgcrypt
JW closed T1873: Test suite built without symbols as Resolved.
Mar 6 2015, 4:55 AM · Bug Report, libgcrypt
JW added a comment to T1872: Memory errors when running `make check` under Clang sanitizers.

Mar 6 2015, 4:53 AM · Mistaken, Bug Report, libgcrypt
JW added a comment to T1872: Memory errors when running `make check` under Clang sanitizers.

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).

Mar 6 2015, 4:53 AM · Mistaken, Bug Report, libgcrypt
JW added a comment to T1874: Memory leaks when running `make check` under Clang sanitizers.

Mar 6 2015, 4:53 AM · Mistaken, Bug Report, libassuan
JW added a comment to T1874: Memory leaks when running `make check` under Clang sanitizers.

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).

Mar 6 2015, 4:53 AM · Mistaken, Bug Report, libassuan
JW reopened T1875: Autotools does not honor CFLAGS="-g3 -O1" as "Open".
Mar 6 2015, 4:49 AM · Bug Report
JW closed T1875: Autotools does not honor CFLAGS="-g3 -O1" as Resolved.
Mar 6 2015, 4:49 AM · Bug Report
JW added a comment to T1875: Autotools does not honor CFLAGS="-g3 -O1".

Closing. My script overwrote the symbol/optimizations with the Clang flags.

Mar 6 2015, 4:49 AM · Bug Report
JW added a comment to T1879: Memory leaks when running `make check` under Clang sanitizers.

Changed status to 'unread'. I am not chatting.

Mar 6 2015, 4:42 AM · Mistaken, Bug Report, libgcrypt
JW added a comment to T1879: Memory leaks when running `make check` under Clang sanitizers.

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)

Mar 6 2015, 4:42 AM · Mistaken, Bug Report, libgcrypt
JW added a comment to T1879: Memory leaks when running `make check` under Clang sanitizers.

Mar 6 2015, 4:42 AM · Mistaken, Bug Report, libgcrypt
JW added a comment to T1879: Memory leaks when running `make check` under Clang sanitizers.

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).

27503==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 24 byte(s) in 1 object(s) allocated from:

#0 0x49f53b in malloc

/home/gpg-user/Clang-3.5/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:40:3

#1 0x53a9ca in _gcry_private_malloc

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/mpitests+0x53a9ca)

#2 0x4f2e00 in do_malloc

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/mpitests+0x4f2e00)

#3 0x4f289a in _gcry_malloc

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/mpitests+0x4f289a)

#4 0x4f5349 in _gcry_xmalloc

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/mpitests+0x4f5349)

#5 0xc7ade0 in _gcry_mpi_alloc

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/mpitests+0xc7ade0)

#6 0xc8c6ac in _gcry_mpi_set_ui

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/mpitests+0xc8c6ac)

#7 0x4c9d2b in gcry_mpi_set_ui

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/mpitests+0x4c9d2b)

#8 0x4bd295 in test_const_and_immutable

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/mpitests+0x4bd295)

#9 0x4bd0fb in main

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/mpitests+0x4bd0fb)

#10 0x2abeb5528ec4 in __libc_start_main

/build/buildd/eglibc-2.19/csu/libc-start.c:287

Indirect leak of 8 byte(s) in 1 object(s) allocated from:

#0 0x49f53b in malloc

/home/gpg-user/Clang-3.5/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:40:3

#1 0x53a9ca in _gcry_private_malloc

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/mpitests+0x53a9ca)

#2 0x4f2e00 in do_malloc

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/mpitests+0x4f2e00)

#3 0x4f289a in _gcry_malloc

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/mpitests+0x4f289a)

#4 0x4f5349 in _gcry_xmalloc

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/mpitests+0x4f5349)

#5 0xc7b998 in _gcry_mpi_alloc_limb_space

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/mpitests+0xc7b998)

#6 0xc7aef4 in _gcry_mpi_alloc

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/mpitests+0xc7aef4)

#7 0xc8c6ac in _gcry_mpi_set_ui

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/mpitests+0xc8c6ac)

#8 0x4c9d2b in gcry_mpi_set_ui

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/mpitests+0x4c9d2b)

#9 0x4bd295 in test_const_and_immutable

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/mpitests+0x4bd295)

#10 0x4bd0fb in main

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/mpitests+0x4bd0fb)

#11 0x2abeb5528ec4 in __libc_start_main

/build/buildd/eglibc-2.19/csu/libc-start.c:287

SUMMARY: AddressSanitizer: 32 byte(s) leaked in 2 allocation(s).
FAIL: mpitests
./tsexp: /lib/x86_64-linux-gnu/libgpg-error.so.0: no version information
available (required by ./tsexp)

27510==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 558 byte(s) in 1 object(s) allocated from:

#0 0x49f53b in malloc

/home/gpg-user/Clang-3.5/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:40:3

#1 0x548dfa in _gcry_private_malloc

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/tsexp+0x548dfa)

#2 0x501230 in do_malloc

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/tsexp+0x501230)

#3 0x500cca in _gcry_malloc

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/tsexp+0x500cca)

#4 0x50fffa in _gcry_sexp_find_token

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/tsexp+0x50fffa)

#5 0x4d62cb in gcry_sexp_find_token

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/tsexp+0x4d62cb)

#6 0x4cc1ad in bug_1594

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/tsexp+0x4cc1ad)

#7 0x4bcf62 in main

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/tsexp+0x4bcf62)

#8 0x2ad398718ec4 in __libc_start_main

/build/buildd/eglibc-2.19/csu/libc-start.c:287

Direct leak of 523 byte(s) in 1 object(s) allocated from:

#0 0x49f53b in malloc

/home/gpg-user/Clang-3.5/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:40:3

#1 0x548dfa in _gcry_private_malloc

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/tsexp+0x548dfa)

#2 0x501230 in do_malloc

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/tsexp+0x501230)

#3 0x500cca in _gcry_malloc

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/tsexp+0x500cca)

#4 0x50fffa in _gcry_sexp_find_token

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/tsexp+0x50fffa)

#5 0x4d62cb in gcry_sexp_find_token

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/tsexp+0x4d62cb)

#6 0x4cc295 in bug_1594

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/tsexp+0x4cc295)

#7 0x4bcf62 in main

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/tsexp+0x4bcf62)

#8 0x2ad398718ec4 in __libc_start_main

/build/buildd/eglibc-2.19/csu/libc-start.c:287

SUMMARY: AddressSanitizer: 1081 byte(s) leaked in 2 allocation(s).
FAIL: tsexp

27657==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 144560 byte(s) in 278 object(s) allocated from:

#0 0x49f690 in calloc

/home/gpg-user/Clang-3.5/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:56:3

#1 0x4c3020 in do_slope_benchmark

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/bench-slope+0x4c3020)

#2 0x4d2030 in cipher_bench_one

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/bench-slope+0x4d2030)

#3 0x4c6565 in _cipher_bench

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/bench-slope+0x4c6565)

#4 0x4c5d96 in cipher_bench

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/bench-slope+0x4c5d96)

#5 0x4cb103 in main

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/bench-slope+0x4cb103)

#6 0x2b9df664dec4 in __libc_start_main

/build/buildd/eglibc-2.19/csu/libc-start.c:287

Direct leak of 15080 byte(s) in 29 object(s) allocated from:

#0 0x49f690 in calloc

/home/gpg-user/Clang-3.5/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:56:3

#1 0x4c3020 in do_slope_benchmark

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/bench-slope+0x4c3020)

#2 0x4cc4ea in mac_bench_one

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/bench-slope+0x4cc4ea)

#3 0x4c86db in _mac_bench

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/bench-slope+0x4c86db)

#4 0x4c819a in mac_bench

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/bench-slope+0x4c819a)

#5 0x4cb0ef in main

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/bench-slope+0x4cb0ef)

#6 0x2b9df664dec4 in __libc_start_main

/build/buildd/eglibc-2.19/csu/libc-start.c:287

Direct leak of 9360 byte(s) in 18 object(s) allocated from:

#0 0x49f690 in calloc

/home/gpg-user/Clang-3.5/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:56:3

#1 0x4c3020 in do_slope_benchmark

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/bench-slope+0x4c3020)

#2 0x4cfd7a in hash_bench_one

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/bench-slope+0x4cfd7a)

#3 0x4c773b in _hash_bench

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/bench-slope+0x4c773b)

#4 0x4c6e0a in hash_bench

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/bench-slope+0x4c6e0a)

#5 0x4cb0db in main

(/home/gpg-user/gcrypt-2.0-sanitize/libgcrypt-1.6.3/tests/bench-slope+0x4cb0db)

#6 0x2b9df664dec4 in __libc_start_main

/build/buildd/eglibc-2.19/csu/libc-start.c:287

SUMMARY: AddressSanitizer: 169000 byte(s) leaked in 325 allocation(s).
FAIL: bench-slope

Mar 6 2015, 4:41 AM · Mistaken, Bug Report, libgcrypt
JW added projects to T1879: Memory leaks when running `make check` under Clang sanitizers: libgcrypt, Bug Report.
Mar 6 2015, 4:39 AM · Mistaken, Bug Report, libgcrypt
JW set Version to 1.6.3 on T1879: Memory leaks when running `make check` under Clang sanitizers.
Mar 6 2015, 4:39 AM · Mistaken, Bug Report, libgcrypt
JW added a project to T1878: wipememory relies upon volatile qualifier: Bug Report.
Mar 6 2015, 4:27 AM · Info Needed, Bug Report
JW added a comment to T1877: Undefined behavior when running `make check` under Clang sanitizers.

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);
      wipememory (c->u_mode.gcm.aadlen, sizeof (c->u_mode.gcm.aadlen));
      wipememory (c->u_mode.gcm.datalen, sizeof (c->u_mode.gcm.datalen));

cipher-ccm.c:280:7: runtime error: store to misaligned address...

wipememory (c->u_mode.ccm.macbuf, 16);
Mar 6 2015, 4:01 AM · Duplicate, Bug Report, libgcrypt
JW added a comment to T1877: Undefined behavior when running `make check` under Clang sanitizers.

Mar 6 2015, 3:45 AM · Duplicate, Bug Report, libgcrypt
JW added a comment to T1877: Undefined behavior when running `make check` under Clang sanitizers.

Updated bufhelp that corrects the undefined behavior.

Mar 6 2015, 3:45 AM · Duplicate, Bug Report, libgcrypt
JW added a comment to T1877: Undefined behavior when running `make check` under Clang sanitizers.

Mar 6 2015, 3:44 AM · Duplicate, Bug Report, libgcrypt
JW added a comment to T1877: Undefined behavior when running `make check` under Clang sanitizers.

Updated gost28147 that corrects the undefined behavior.

Mar 6 2015, 3:44 AM · Duplicate, Bug Report, libgcrypt
JW added a comment to T1877: Undefined behavior when running `make check` under Clang sanitizers.

Mar 6 2015, 3:13 AM · Duplicate, Bug Report, libgcrypt
JW set Version to 1.6.3 on T1877: Undefined behavior when running `make check` under Clang sanitizers.
Mar 6 2015, 2:51 AM · Duplicate, Bug Report, libgcrypt
JW added projects to T1877: Undefined behavior when running `make check` under Clang sanitizers: libgcrypt, Bug Report.
Mar 6 2015, 2:51 AM · Duplicate, Bug Report, libgcrypt
JW added a comment to T1877: Undefined behavior when running `make check` under Clang sanitizers.

Mar 6 2015, 2:51 AM · Duplicate, Bug Report, libgcrypt
JW set Version to 1.3.2 on T1876: Memory leaks when running `make check` under Clang sanitizers.
Mar 6 2015, 2:12 AM · Mistaken, Bug Report, libksba
JW added projects to T1876: Memory leaks when running `make check` under Clang sanitizers: libksba, Bug Report.
Mar 6 2015, 2:12 AM · Mistaken, Bug Report, libksba
JW added a comment to T1876: Memory leaks when running `make check` under Clang sanitizers.

Mar 6 2015, 2:12 AM · Mistaken, Bug Report, libksba
JW added a project to T1875: Autotools does not honor CFLAGS="-g3 -O1": Bug Report.
Mar 6 2015, 2:10 AM · Bug Report
JW added a comment to T1872: Memory errors when running `make check` under Clang sanitizers.

Mar 6 2015, 1:44 AM · Mistaken, Bug Report, libgcrypt
JW added a comment to T1874: Memory leaks when running `make check` under Clang sanitizers.

Mar 6 2015, 1:43 AM · Mistaken, Bug Report, libassuan
JW added projects to T1874: Memory leaks when running `make check` under Clang sanitizers: libassuan, Bug Report.
Mar 6 2015, 1:33 AM · Mistaken, Bug Report, libassuan
JW set Version to 2.2.0 on T1874: Memory leaks when running `make check` under Clang sanitizers.
Mar 6 2015, 1:33 AM · Mistaken, Bug Report, libassuan
JW added a comment to T1872: Memory errors when running `make check` under Clang sanitizers.

And:

$ addr2line -e libgcrypt-1.6.3/tests/version 0x51d8c6
hwf-x86.c:?

And:

$ gdb
(gdb) file libgcrypt-1.6.3/tests/version
Reading symbols from libgcrypt-1.6.3/tests/version...done.
(gdb) info symbol 0x51d8c6
get_xgetbv + 294 in section .text
(gdb) info *0x51d8c6
Undefined info command: "*0x51d8c6". Try "help info".
(gdb) info line *0x51d8c6
No line number information available for address 0x51d8c6 <get_xgetbv+294>

Related bug: "Test suite built without symbols",
T1873.

Mar 6 2015, 12:47 AM · Mistaken, Bug Report, libgcrypt
JW added projects to T1873: Test suite built without symbols: libgcrypt, Bug Report.
Mar 6 2015, 12:27 AM · Bug Report, libgcrypt
JW set Version to 1.6.3 on T1873: Test suite built without symbols.
Mar 6 2015, 12:27 AM · Bug Report, libgcrypt

Mar 5 2015

JW added a comment to T1872: Memory errors when running `make check` under Clang sanitizers.

Attached is the recipe I am using to build Clang 3.5.

Mar 5 2015, 11:47 PM · Mistaken, Bug Report, libgcrypt
JW added a comment to T1872: Memory errors when running `make check` under Clang sanitizers.

Mar 5 2015, 11:47 PM · Mistaken, Bug Report, libgcrypt
JW added a comment to T1872: Memory errors when running `make check` under Clang sanitizers.

Mar 5 2015, 11:41 PM · Mistaken, Bug Report, libgcrypt
JW added projects to T1872: Memory errors when running `make check` under Clang sanitizers: libgcrypt, Bug Report.
Mar 5 2015, 11:40 PM · Mistaken, Bug Report, libgcrypt
JW added a comment to T1872: Memory errors when running `make check` under Clang sanitizers.

Mar 5 2015, 11:40 PM · Mistaken, Bug Report, libgcrypt
JW set Version to 1.6.3 on T1872: Memory errors when running `make check` under Clang sanitizers.
Mar 5 2015, 11:40 PM · Mistaken, Bug Report, libgcrypt
JW added projects to T1871: Adding 'int' to a string does not append to the string: Feature Request, libgcrypt.
Mar 5 2015, 11:29 PM · Not A Bug, libgcrypt, Feature Request
JW added projects to T1870: Potential use of uninitialized variable: libgcrypt, Bug Report.
Mar 5 2015, 11:25 PM · Mistaken, Bug Report, libgcrypt
JW set Version to 1.6.3 on T1870: Potential use of uninitialized variable.
Mar 5 2015, 11:25 PM · Mistaken, Bug Report, libgcrypt
JW set Version to 1.6.3 on T1869: Case value not in enumerated type.
Mar 5 2015, 11:22 PM · Not A Bug, libgcrypt, Feature Request
JW added projects to T1869: Case value not in enumerated type: Feature Request, libgcrypt.
Mar 5 2015, 11:22 PM · Not A Bug, libgcrypt, Feature Request
JW added projects to T1868: Potential use of uninitialized variable: libgcrypt, Bug Report.
Mar 5 2015, 11:05 PM · Mistaken, Bug Report, libgcrypt
JW set Version to 1.6.3 on T1868: Potential use of uninitialized variable.
Mar 5 2015, 11:05 PM · Mistaken, Bug Report, libgcrypt
JW added projects to T1867: Potential use of uniinitialized vairaible: libksba, Bug Report.
Mar 5 2015, 10:57 PM · Mistaken, Bug Report, libksba
JW set Version to 1.3.2 on T1867: Potential use of uniinitialized vairaible.
Mar 5 2015, 10:57 PM · Mistaken, Bug Report, libksba
JW set Version to 1.6.3 on T1866: `make check` uses wrong libgcrypt library.
Mar 5 2015, 10:14 PM · Mistaken, Bug Report, libgcrypt
JW added projects to T1866: `make check` uses wrong libgcrypt library: libgcrypt, Bug Report.
Mar 5 2015, 10:14 PM · Mistaken, Bug Report, libgcrypt
JW set Version to 1.1 on T1865: Cannot test nPth library.
Mar 5 2015, 2:09 AM · Bug Report, npth
JW added projects to T1865: Cannot test nPth library: npth, Bug Report.
Mar 5 2015, 2:09 AM · Bug Report, npth
JW added a comment to T1864: Can't compile libgcrypt with some configure options.

It appears --disable-static is the culprit.

Mar 5 2015, 1:43 AM · Info Needed, Bug Report, libgcrypt
JW set Version to 1.6.3 on T1864: Can't compile libgcrypt with some configure options.
Mar 5 2015, 1:21 AM · Info Needed, Bug Report, libgcrypt
JW added projects to T1864: Can't compile libgcrypt with some configure options: libgcrypt, Bug Report.
Mar 5 2015, 1:21 AM · Info Needed, Bug Report, libgcrypt
JW added a comment to T1864: Can't compile libgcrypt with some configure options.

Mar 5 2015, 1:21 AM · Info Needed, Bug Report, libgcrypt
JW set Version to 1.6.3 on T1863: libgcrypt offers/uses --with-pth-prefix.
Mar 5 2015, 1:06 AM · libgcrypt
JW added a project to T1863: libgcrypt offers/uses --with-pth-prefix: libgcrypt.
Mar 5 2015, 1:06 AM · libgcrypt

Mar 3 2015

JW added a comment to T1860: Can't verify signatures from command line using signer's public key block.

Mar 3 2015, 8:40 AM · Not A Bug, gnupg
JW added projects to T1860: Can't verify signatures from command line using signer's public key block: gnupg, Bug Report.
Mar 3 2015, 8:40 AM · Not A Bug, gnupg
JW set Version to 1.4.16 on T1860: Can't verify signatures from command line using signer's public key block.
Mar 3 2015, 8:40 AM · Not A Bug, gnupg
JW set Version to 1.18 on T1859: libgpg-error-1.18: e: WARNING: 'missing' script is too old or missing.
Mar 3 2015, 7:59 AM · Bug Report, gpgrt, Not A Bug
JW added projects to T1859: libgpg-error-1.18: e: WARNING: 'missing' script is too old or missing: gpgrt, Bug Report.
Mar 3 2015, 7:59 AM · Bug Report, gpgrt, Not A Bug