[openssl-dev] [openssl.org #4352] Failed test 'Duplicate ClientHello extension' when testing under Clang undefined behavior sanitizer

Kurt Roeckx via RT rt at openssl.org
Sat Feb 27 09:11:18 UTC 2016


On Sat, Feb 27, 2016 at 01:58:26AM +0000, noloader at gmail.com via RT wrote:
> Platform is Linux, x86_64. The failure occurs under Clang with the
> sanitizer. GCC is fine.
> 
> I'm guessing the error output from the Undefined Behavior sanitizer is
> causing the test to be interpreted as a fail.

It has 2 of them:
apps/s_cb.c:1077:41: runtime error: index 18446744073709551614 out of bounds for type 'const unsigned char [3]'


I've already fixed this, it's been reviewed, it's just not in
master yet.

Then there is also:
crypto/include/internal/md32_common.h:380:5: runtime error: store to misaligned address 0x00000210b5fd for type 'unsigned int', which requires 4 byte alignment

That seems to go away when using -DPEDANTIC


Kurt


-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4352
Please log in as guest with password guest if prompted



More information about the openssl-dev mailing list