wolfssl
wolfssl copied to clipboard
Fix ASAN warning with compatibility layer cipher list parsing
Description
Fix for ASAN warning with compatibility layer cipher lists in ParseCipherList and CheckcipherList.
wolfssl/src/ssl.c:11892:16: runtime error: applying non-zero offset 1 to null pointer
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior wolfssl/src/ssl.c:11892:16 in
wolfssl/src/internal.c:26632:16: runtime error: applying non-zero offset 1 to null pointer
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior wolfssl/src/internal.c:26632:16 in
ZD 18175
Testing
./configure CC="clang -fsanitize=address" --enable-all && make check
Checklist
- [ ] added tests
- [ ] updated/added doxygen
- [ ] updated appropriate READMEs
- [ ] Updated manual and documentation
Retest this please
Retest this please