Fix UBSAN errors in ccache-swig
ccache.c:738:18: runtime error: null pointer passed as argument 1, which is declared to never be null Fixes stderr redirect in testname CCACHE_CPP2, when the CCACHE_CPP2 environment variable is defined. mdfour.c:91:20: runtime error: left shift of 139 by 24 places cannot be represented in type 'int' Looks like this brings some stability to the md4 hash calculation. Closes #2449
This commit is contained in:
parent
637e297672
commit
60af317956
3 changed files with 15 additions and 9 deletions
|
|
@ -7,6 +7,10 @@ the issue number to the end of the URL: https://github.com/swig/swig/issues/
|
|||
Version 4.2.0 (in progress)
|
||||
===========================
|
||||
|
||||
2022-11-26: wsfulton
|
||||
#2449 Fix undefined behaviour in ccache-swig calculating md4 hashes and possibly
|
||||
also handling errors when CCACHE_CPP2 is set.
|
||||
|
||||
2022-11-26: wsfulton
|
||||
#1589 #1590 Slightly better decltype() support for expressions, such as:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue