bug-gnu-libiconv
[Top][All Lists]
Advanced

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

[bug-gnu-libiconv] Undefined Behavior sanitizer findings


From: Jeffrey Walton
Subject: [bug-gnu-libiconv] Undefined Behavior sanitizer findings
Date: Wed, 6 Mar 2019 22:29:13 -0500

Hi Everyone,

I built the latest iConv release tarball with -fsanitize=undefined and
then ran the self tests with 'make check'. It produced a few findings:

...
./check-stateless . CP874
./check-stateless . VISCII
viscii.h:127:56: runtime error: left shift of 1 by 31 places cannot be
represented in type 'int'
./check-stateless . TCVN
tcvn.h:220:56: runtime error: left shift of 1 by 31 places cannot be
represented in type 'int'
./check-stateful . TCVN
...

This is a fairly common finding.

Jeff



reply via email to

[Prev in Thread] Current Thread [Next in Thread]