<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 10: Clang 3.3 sanitzier results</title><link>https://sourceforge.net/p/libjpeg/bugs/10/</link><description>Recent changes to 10: Clang 3.3 sanitzier results</description><atom:link href="https://sourceforge.net/p/libjpeg/bugs/10/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 21 Nov 2013 14:44:12 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/libjpeg/bugs/10/feed.rss" rel="self" type="application/rss+xml"/><item><title>Clang 3.3 sanitzier results</title><link>https://sourceforge.net/p/libjpeg/bugs/10/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;$ make check 2&amp;gt;&amp;amp;1 | asan_symbolize.py&lt;br /&gt;
/usr/local/bin/clang -fsanitize=address -o cjpeg cjpeg.o rdppm.o rdgif.o rdtarga.o rdrle.o rdbmp.o rdswitch.o cdjpeg.o libjpeg.a /usr/local/lib/clang/3.3/lib/linux/libclang_rt.full-x86_64.a /usr/local/lib/clang/3.3/lib/linux/libclang_rt.ubsan-x86_64.a&lt;br /&gt;
/usr/local/bin/clang -g3 -fsanitize=address -fsanitize=undefined  -I.   -c -o djpeg.o djpeg.c&lt;br /&gt;
/usr/local/bin/clang -g3 -fsanitize=address -fsanitize=undefined  -I.   -c -o wrppm.o wrppm.c&lt;br /&gt;
/usr/local/bin/clang -g3 -fsanitize=address -fsanitize=undefined  -I.   -c -o wrgif.o wrgif.c&lt;br /&gt;
/usr/local/bin/clang -g3 -fsanitize=address -fsanitize=undefined  -I.   -c -o wrtarga.o wrtarga.c&lt;br /&gt;
/usr/local/bin/clang -g3 -fsanitize=address -fsanitize=undefined  -I.   -c -o wrrle.o wrrle.c&lt;br /&gt;
/usr/local/bin/clang -g3 -fsanitize=address -fsanitize=undefined  -I.   -c -o wrbmp.o wrbmp.c&lt;br /&gt;
/usr/local/bin/clang -g3 -fsanitize=address -fsanitize=undefined  -I.   -c -o rdcolmap.o rdcolmap.c&lt;br /&gt;
/usr/local/bin/clang -fsanitize=address -o djpeg djpeg.o wrppm.o wrgif.o wrtarga.o wrrle.o wrbmp.o rdcolmap.o cdjpeg.o libjpeg.a /usr/local/lib/clang/3.3/lib/linux/libclang_rt.full-x86_64.a /usr/local/lib/clang/3.3/lib/linux/libclang_rt.ubsan-x86_64.a&lt;br /&gt;
/usr/local/bin/clang -g3 -fsanitize=address -fsanitize=undefined  -I.   -c -o jpegtran.o jpegtran.c&lt;br /&gt;
/usr/local/bin/clang -g3 -fsanitize=address -fsanitize=undefined  -I.   -c -o transupp.o transupp.c&lt;br /&gt;
/usr/local/bin/clang -fsanitize=address -o jpegtran jpegtran.o rdswitch.o cdjpeg.o transupp.o libjpeg.a /usr/local/lib/clang/3.3/lib/linux/libclang_rt.full-x86_64.a /usr/local/lib/clang/3.3/lib/linux/libclang_rt.ubsan-x86_64.a&lt;br /&gt;
rm -f testout*&lt;br /&gt;
./djpeg -dct int -ppm -outfile testout.ppm  ./testorig.jpg&lt;br /&gt;
jdhuff.c:357:32: runtime error: left shift of 68369189789394473 by 8 places cannot be represented in type 'bit_buf_type' (aka 'long')&lt;br /&gt;
jidctint.c:216:22: runtime error: left shift of negative value -648&lt;br /&gt;
jidctint.c:217:22: runtime error: left shift of negative value -648&lt;br /&gt;
jidctint.c:186:69: runtime error: left shift of negative value -12&lt;br /&gt;
jidctint.c:318:50: runtime error: left shift of negative value -2525&lt;br /&gt;
jidctint.c:319:50: runtime error: left shift of negative value -2525&lt;br /&gt;
./djpeg -dct int -bmp -colors 256 -outfile testout.bmp  ./testorig.jpg&lt;br /&gt;
jdhuff.c:357:32: runtime error: left shift of 68369189789394473 by 8 places cannot be represented in type 'bit_buf_type' (aka 'long')&lt;br /&gt;
jidctint.c:216:22: runtime error: left shift of negative value -648&lt;br /&gt;
jidctint.c:217:22: runtime error: left shift of negative value -648&lt;br /&gt;
jidctint.c:186:69: runtime error: left shift of negative value -12&lt;br /&gt;
jidctint.c:318:50: runtime error: left shift of negative value -2525&lt;br /&gt;
jidctint.c:319:50: runtime error: left shift of negative value -2525&lt;br /&gt;
./cjpeg -dct int -outfile testout.jpg  ./testimg.ppm&lt;br /&gt;
jfdctint.c:173:45: runtime error: left shift of negative value -631&lt;br /&gt;
jfdctint.c:174:45: runtime error: left shift of negative value -1&lt;br /&gt;
jchuff.c:328:16: runtime error: left shift of 68369189789368320 by 8 places cannot be represented in type 'INT32' (aka 'long')&lt;br /&gt;
./djpeg -dct int -ppm -outfile testoutp.ppm ./testprog.jpg&lt;br /&gt;
jdphuff.c:336:32: runtime error: left shift of negative value -41&lt;br /&gt;
jdhuff.c:357:32: runtime error: left shift of 68349010893103810 by 8 places cannot be represented in type 'bit_buf_type' (aka 'long')&lt;br /&gt;
jdphuff.c:404:49: runtime error: left shift of negative value -1&lt;br /&gt;
jdphuff.c:496:17: runtime error: left shift of negative value -1&lt;br /&gt;
jidctint.c:216:22: runtime error: left shift of negative value -648&lt;br /&gt;
jidctint.c:217:22: runtime error: left shift of negative value -648&lt;br /&gt;
jidctint.c:186:69: runtime error: left shift of negative value -12&lt;br /&gt;
jidctint.c:318:50: runtime error: left shift of negative value -2525&lt;br /&gt;
jidctint.c:319:50: runtime error: left shift of negative value -2525&lt;br /&gt;
./cjpeg -dct int -progressive -opt -outfile testoutp.jpg ./testimg.ppm&lt;br /&gt;
jfdctint.c:173:45: runtime error: left shift of negative value -631&lt;br /&gt;
jfdctint.c:174:45: runtime error: left shift of negative value -1&lt;br /&gt;
jcphuff.c:257:16: runtime error: left shift of 68349010935152640 by 8 places cannot be represented in type 'INT32' (aka 'long')&lt;br /&gt;
./jpegtran -outfile testoutt.jpg ./testprog.jpg&lt;br /&gt;
jdphuff.c:336:32: runtime error: left shift of negative value -41&lt;br /&gt;
jdhuff.c:357:32: runtime error: left shift of 68349010893103810 by 8 places cannot be represented in type 'bit_buf_type' (aka 'long')&lt;br /&gt;
jdphuff.c:404:49: runtime error: left shift of negative value -1&lt;br /&gt;
jdphuff.c:496:17: runtime error: left shift of negative value -1&lt;br /&gt;
jchuff.c:328:16: runtime error: left shift of 68369189789368320 by 8 places cannot be represented in type 'INT32' (aka 'long')&lt;br /&gt;
cmp ./testimg.ppm testout.ppm&lt;br /&gt;
cmp ./testimg.bmp testout.bmp&lt;br /&gt;
cmp ./testimg.jpg testout.jpg&lt;br /&gt;
cmp ./testimg.ppm testoutp.ppm&lt;br /&gt;
cmp ./testimgp.jpg testoutp.jpg&lt;br /&gt;
cmp ./testorig.jpg testoutt.jpg&lt;br /&gt;
$&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Walton</dc:creator><pubDate>Thu, 21 Nov 2013 14:44:12 -0000</pubDate><guid>https://sourceforge.net36c3e39ebe2c8c4be54150a325bbf979dc30b572</guid></item></channel></rss>