Source-Changes archive

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

CVS commit: src/usr.bin/xlint



Module Name:    src
Committed By:   rillig
Date:           Fri Jan 13 19:41:50 UTC 2023

Modified Files:
        src/usr.bin/xlint/common: externs.h mem.c
        src/usr.bin/xlint/lint1: externs1.h init.c lint1.h main1.c mem1.c
            tree.c
        src/usr.bin/xlint/lint2: externs2.h main2.c mem2.c

Log Message:
lint: remove custom memory allocator

Besides adding complexity, the custom memory allocator didn't invalidate
freed memory, which made it harder to find possible use-after-free bugs.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/usr.bin/xlint/common/externs.h
cvs rdiff -u -r1.20 -r1.21 src/usr.bin/xlint/common/mem.c
cvs rdiff -u -r1.170 -r1.171 src/usr.bin/xlint/lint1/externs1.h
cvs rdiff -u -r1.237 -r1.238 src/usr.bin/xlint/lint1/init.c
cvs rdiff -u -r1.158 -r1.159 src/usr.bin/xlint/lint1/lint1.h
cvs rdiff -u -r1.65 -r1.66 src/usr.bin/xlint/lint1/main1.c
cvs rdiff -u -r1.63 -r1.64 src/usr.bin/xlint/lint1/mem1.c
cvs rdiff -u -r1.489 -r1.490 src/usr.bin/xlint/lint1/tree.c
cvs rdiff -u -r1.16 -r1.17 src/usr.bin/xlint/lint2/externs2.h
cvs rdiff -u -r1.24 -r1.25 src/usr.bin/xlint/lint2/main2.c
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/xlint/lint2/mem2.c

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