[gnutls-devel] GnuTLS | clang ASAN fails on testcompat-tls13-openssl.sh (#920)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Tue Jan 28 14:33:57 CET 2020




Tim Rühsen commented:


BTW
```
Checking TLS 1.3 with Ed448 certificate...
curve448/cnd-copy.c:46:10: runtime error: negation of 1 cannot be represented in type 'mp_limb_t' (aka 'unsigned long')
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior curve448/cnd-copy.c:46:10 in 
curve448/sec-tabselect.c:58:24: runtime error: negation of 1 cannot be represented in type 'mp_limb_t' (aka 'unsigned long')
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior curve448/sec-tabselect.c:58:24 in 
curve448/sec-tabselect.c:56:38: runtime error: unsigned integer overflow: 0 - 1 cannot be represented in type 'unsigned int'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior curve448/sec-tabselect.c:56:38 in 
curve448/ecc-curve448.c:99:14: runtime error: unsigned integer overflow: 4294967296 + 18446744069414584320 cannot be represented in type 'unsigned long'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior curve448/ecc-curve448.c:99:14 in 
curve448/ecc-mul-g-eh.c:64:16: runtime error: unsigned integer overflow: 0 - 1 cannot be represented in type 'unsigned int'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior curve448/ecc-mul-g-eh.c:64:16 in 
```

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/920#note_278070513
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20200128/a4b06da0/attachment.html>


More information about the Gnutls-devel mailing list