Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/external/bsd/tre/lib



Module Name:    src
Committed By:   mrg
Date:           Mon Aug 14 05:29:28 UTC 2023

Modified Files:
        src/external/bsd/tre/lib: Makefile

Log Message:
apply -Wno-error for GCC 12.

this code seems broken.  hash_table_del() is called on a ptr that was
either just freed (realloc() case) or will be freed (xfree_impl() case),
but in both cases hash_table_del() will free() the same address.  for
the realloc() case, as it's after free(), it's UB.  for the xfree_impl()
case, it can be solved by not free()ing here.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/tre/lib/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index