Source-Changes archive

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

CVS commit: src



Module Name:    src
Committed By:   rillig
Date:           Sun Mar 10 14:32:30 UTC 2024

Modified Files:
        src/tests/usr.bin/xlint/lint1: expr_fold.c msg_141.c
        src/usr.bin/xlint/lint1: tree.c

Log Message:
lint: detect more cases of integer overflow in constant expressions

For unsigned integers, detect when 'a + b' wraps around.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/tests/usr.bin/xlint/lint1/expr_fold.c \
    src/tests/usr.bin/xlint/lint1/msg_141.c
cvs rdiff -u -r1.618 -r1.619 src/usr.bin/xlint/lint1/tree.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