Page MenuHome GnuPG
Feed Advanced Search

Mar 10 2015

werner added a comment to T1907: basic.c: function call argument is an uninitialized value.

No c+p of warnings please.

Mar 10 2015, 9:16 AM · Mistaken, Bug Report, libgcrypt

Mar 9 2015

aheinecke added projects to T1919: Libgcrypt in Gpg4Win has AES-NI support disabled: gpg4win, Feature Request, libgcrypt.
Mar 9 2015, 6:41 PM · libgcrypt, Feature Request, gpg4win
aheinecke updated subscribers of T1919: Libgcrypt in Gpg4Win has AES-NI support disabled.
Mar 9 2015, 6:41 PM · libgcrypt, Feature Request, gpg4win

Mar 6 2015

JW added projects to T1916: fipsdrv.c: potential race condition due to the use of access(1): libgcrypt, Bug Report.
Mar 6 2015, 10:13 AM · Bug Report, libgcrypt
JW added a comment to T1881: Undefined behavior when running `make check` under Clang sanitizers.

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

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

Also see "Is a misaligned load due to a cast undefined behavior?"
(http://stackoverflow.com/q/28893303) on Stack Overflow.

I wanted to verify it was in fact undefined behavior.

Mar 6 2015, 10:06 AM · Bug Report, libgcrypt
JW set Version to 1.6.3 on T1910: fipsdrv.c: dereference of null pointer.
Mar 6 2015, 9:19 AM · Mistaken, Bug Report, libgcrypt
JW added projects to T1910: fipsdrv.c: dereference of null pointer: libgcrypt, Bug Report.
Mar 6 2015, 9:19 AM · Mistaken, Bug Report, libgcrypt
JW set Version to 1.6.3 on T1909: bench-slope.c: potential buffer overflows.
Mar 6 2015, 9:16 AM · Mistaken, Bug Report, libgcrypt
JW added projects to T1909: bench-slope.c: potential buffer overflows: libgcrypt, Bug Report.
Mar 6 2015, 9:16 AM · Mistaken, Bug Report, libgcrypt
JW added projects to T1908: t-ed25519.c: dereference of null pointer: libgcrypt, Bug Report.
Mar 6 2015, 9:14 AM · Mistaken, Bug Report, libgcrypt
JW set Version to 1.6.3 on T1908: t-ed25519.c: dereference of null pointer.
Mar 6 2015, 9:14 AM · Mistaken, Bug Report, libgcrypt
JW added projects to T1907: basic.c: function call argument is an uninitialized value: libgcrypt, Bug Report.
Mar 6 2015, 9:12 AM · Mistaken, Bug Report, libgcrypt
JW set Version to 1.6.3 on T1907: basic.c: function call argument is an uninitialized value.
Mar 6 2015, 9:12 AM · Mistaken, Bug Report, libgcrypt
JW added projects to T1906: tsexp.c: null pointer passed as an argument to a 'nonnull' parameter: libgcrypt, Bug Report.
Mar 6 2015, 9:10 AM · Mistaken, Bug Report, libgcrypt
JW set Version to 1.6.3 on T1906: tsexp.c: null pointer passed as an argument to a 'nonnull' parameter.
Mar 6 2015, 9:10 AM · Mistaken, Bug Report, libgcrypt
JW added projects to T1905: hmac256.c: use of memory after it is freed (redux): libgcrypt, Bug Report.
Mar 6 2015, 9:09 AM · Mistaken, Bug Report, libgcrypt
JW added projects to T1904: hmac256.c: use of memory after it is freed: libgcrypt, Bug Report.
Mar 6 2015, 9:04 AM · Mistaken, Bug Report, libgcrypt
JW set Version to 1.6.3 on T1904: hmac256.c: use of memory after it is freed.
Mar 6 2015, 9:04 AM · Mistaken, Bug Report, libgcrypt
JW added projects to T1903: ecc-eddsa.c: function call argument is an uninitialized value: libgcrypt, Bug Report.
Mar 6 2015, 9:03 AM · Mistaken, Bug Report, libgcrypt
JW set Version to 1.6.3 on T1903: ecc-eddsa.c: function call argument is an uninitialized value.
Mar 6 2015, 9:03 AM · Mistaken, Bug Report, libgcrypt
JW added a project to T1901: seed.c: the right operand of '^' is a garbage value: libgcrypt.
Mar 6 2015, 9:00 AM · Won't Fix, libgcrypt
JW set Version to 1.6.3 on T1901: seed.c: the right operand of '^' is a garbage value.
Mar 6 2015, 9:00 AM · Won't Fix, libgcrypt
JW added a project to T1900: des.c: the right operand of '^' is a garbage value: libgcrypt.
Mar 6 2015, 8:58 AM · Mistaken, libgcrypt
JW added a project to T1899: primegen.c: uses is_locked, which appears to suffer a race: libgcrypt.
Mar 6 2015, 8:54 AM · Not A Bug, libgcrypt
JW added projects to T1898: md.c: null pointer passed as an argument to a 'nonnull' parameter: libgcrypt, Bug Report.
Mar 6 2015, 8:50 AM · Mistaken, Bug Report, libgcrypt
JW added projects to T1897: cipher.c: null pointer passed as an argument to a 'nonnull' parameter: libgcrypt, Bug Report.
Mar 6 2015, 8:48 AM · Mistaken, Bug Report, libgcrypt
JW set Version to 1.6.3 on T1896: mpiutil.c: potential null pointer dereferences.
Mar 6 2015, 8:47 AM · Mistaken, Bug Report, libgcrypt
JW added projects to T1896: mpiutil.c: potential null pointer dereferences: libgcrypt, Bug Report.
Mar 6 2015, 8:47 AM · Mistaken, Bug Report, libgcrypt
JW added projects to T1895: mpicoder.c: null pointer dereference: libgcrypt, Bug Report.
Mar 6 2015, 8:43 AM · Mistaken, Bug Report, libgcrypt
JW set Version to 1.6.3 on T1895: mpicoder.c: null pointer dereference.
Mar 6 2015, 8:43 AM · Mistaken, Bug Report, libgcrypt
JW set Version to 1.6.3 on T1894: mpi-bit: numerous potential null pointer dereferences.
Mar 6 2015, 8:31 AM · Mistaken, libgcrypt
JW added a project to T1894: mpi-bit: numerous potential null pointer dereferences: libgcrypt.
Mar 6 2015, 8:31 AM · Mistaken, libgcrypt
JW added a comment to T1864: Can't compile libgcrypt with some configure options.

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

Mar 6 2015, 6:39 AM · Info Needed, Bug Report, libgcrypt
JW added a comment to T1883: missing test case for buf_cpy.

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

Mar 6 2015, 6:17 AM · Info Needed, Feature Request, libgcrypt
JW set Version to 1.6.3 on T1883: missing test case for buf_cpy.
Mar 6 2015, 6:06 AM · Info Needed, Feature Request, libgcrypt
JW added projects to T1883: missing test case for buf_cpy: libgcrypt, Bug Report.
Mar 6 2015, 6:06 AM · Info Needed, Feature Request, libgcrypt
JW set Version to 1.6.3 on T1882: warning: comparison of array 'hd->buf' equal to a null pointer is always false.
Mar 6 2015, 5:52 AM · Mistaken, libgcrypt, Feature Request
JW added projects to T1882: warning: comparison of array 'hd->buf' equal to a null pointer is always false: Feature Request, libgcrypt.
Mar 6 2015, 5:52 AM · Mistaken, libgcrypt, Feature Request
JW added a comment to T1881: 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);  // 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
Mar 6 2015, 5:40 AM · Bug Report, libgcrypt
JW added a comment to T1881: 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, 5:39 AM · Bug Report, libgcrypt
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 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 closed T1873: Test suite built without symbols as Resolved.
Mar 6 2015, 5:12 AM · Bug Report, libgcrypt
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 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 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 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 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 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

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 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 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 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 added a project to T1863: libgcrypt offers/uses --with-pth-prefix: libgcrypt.
Mar 5 2015, 1:06 AM · libgcrypt

Feb 27 2015

werner added a comment to T1852: Probable typo in sexp.c - mising parentheses.

You are right. Due to the first condition the second evaluates to (0==1). I
need to check whether thsi used inside libgcrypt.

What a pity that I released 1.6.3 without noticing this bug. ("typo" falsely
made be believe a doc problem). Sorry.

Feb 27 2015, 3:10 PM · Bug Report, libgcrypt

Feb 25 2015

t8m added projects to T1852: Probable typo in sexp.c - mising parentheses: libgcrypt, Bug Report.
Feb 25 2015, 4:31 PM · Bug Report, libgcrypt

Jan 14 2015

werner added projects to T1815: whirlpool.c requires u64 type: libgcrypt, Bug Report.
Jan 14 2015, 11:11 AM · Bug Report, libgcrypt

Jan 9 2015

werner closed T1708: Unable to cross compile libgcrypt on x86_64 as Resolved.
Jan 9 2015, 12:46 PM · Bug Report, libgcrypt
werner removed a project from T1708: Unable to cross compile libgcrypt on x86_64: Info Needed.
Jan 9 2015, 12:46 PM · Bug Report, libgcrypt
werner added a comment to T1708: Unable to cross compile libgcrypt on x86_64.

Thanks for testing

Jan 9 2015, 12:46 PM · Bug Report, libgcrypt