Package: horst
Version: 3.0-2
Usertags: goto-cc

During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error. Please note that we
use our research compiler tool-chain (using tools from the cbmc package), which
permits extended reporting on type inconsistencies at link time.

[...]
cc -Wl,-z,relro -o horst main.o capture.o protocol_parser.o network.o wext.o 
node.o essid.o channel.o util.o ieee80211_util.o listsort.o average.o display.o 
display-main.o display-filter.o display-help.o display-statistics.o 
display-essid.o display-history.o display-spectrum.o display-channel.o 
-lncurses -lm

error: conflicting function declarations "main_input"
old definition in module display file display.c line 46
signed int (signed int)
new definition in module display-main file display-main.c line 493
signed int (char key)
Makefile:70: recipe for target 'horst' failed
make[1]: *** [horst] Error 64
make[1]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-horst/horst-3.0'
dh_auto_build: make -j1 returned exit code 2
debian/rules:16: recipe for target 'build' failed
make: *** [build] Error 2

The wrong declaration here

http://sources.debian.net/src/horst/3.0-2/display.c?hl=46#L46

will cause arbitrary truncation for values larger than 127 or any negative
values; yet even for values that fit this range big endian systems will end up
with an arbitrary argument value as the byte location is wrong.

Best,
Michael

Attachment: pgplU7_ocBWdg.pgp
Description: PGP signature

Reply via email to