Source-Changes archive

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

CVS commit: src/usr.bin/xlint/lint1



Module Name:    src
Committed By:   rillig
Date:           Sat Jun 19 15:23:57 UTC 2021

Modified Files:
        src/usr.bin/xlint/lint1: cgram.y init.c lint1.h

Log Message:
lint: replace undefined behavior with assertion failure

Triggered by this malformed code:

        struct{int;


To generate a diff of this commit:
cvs rdiff -u -r1.226 -r1.227 src/usr.bin/xlint/lint1/cgram.y
cvs rdiff -u -r1.198 -r1.199 src/usr.bin/xlint/lint1/init.c
cvs rdiff -u -r1.102 -r1.103 src/usr.bin/xlint/lint1/lint1.h

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