1 Oct 2009 08:50
bin/42143: A transformation without the cast
<yasu1224 <at> ics.nara-wu.ac.jp>
2009-10-01 06:50:00 GMT
2009-10-01 06:50:00 GMT
>Number: 42143 >Category: bin >Synopsis: A transformation without the cast >Confidential: no >Severity: non-critical >Priority: low >Responsible: bin-bug-people >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu Oct 01 06:50:00 +0000 2009 >Originator: Yamanishi Yasuyo >Release: i386 >Organization: Nara Women's University >Environment: NetBSD ayanamirei 4.0 NetBSD 4.0 (GENERIC) #0: Sun Dec 16 00:20:10 PST 2007 builds <at> wb34:/home/builds/ab/netbsd-4-0-RELEASE/i386/200712160005Z-obj/home/builds/ab/netbsd-4-0-RELEASE/src/sys/arch/i386/compile/GENERIC i386 >Description: Implicit cast from long to int may cause an integer overflow especially with 64-bit CPU. A wrapper function can fix it. >How-To-Repeat: >Fix: --- kill2.c 2009-09-30 23:58:53.000000000 +0900 +++ kill.c 2009-09-25 23:00:33.000000000 +0900 <at> <at> -64,6 +64,7 <at> <at> static void printsignals(FILE *); static int signame_to_signum(char *);(Continue reading)
RSS Feed