Package: libspooles2.2-5 Severity: normal possible integer overflow in I2Ohash/src/util.c on 64bit-systems
F1/cpl8010_src> diff I2Ohash/src/util*.c 23d22 < long int loc3 ; 43,45c42 < loc3 = (long int)loc1*(long int)loc2 % hashtable->nlist ; < loc = (int) loc3 ; < /* loc = (loc1*loc2) % hashtable->nlist ; */ --- > loc = (loc1*loc2) % hashtable->nlist ; 47c44 < fprintf(stdout, "\n loc1 = %d, loc2 = %d, loc3 = %ld, loc = %d", loc1, loc2, loc3, loc) ; --- > fprintf(stdout, "\n loc1 = %d, loc2 = %d, loc3 = %d", loc1, loc2, loc) ; 145d141 < long int loc3 ; 165,167c161 < loc3 = (long int)loc1*(long int)loc2 % hashtable->nlist ; < loc = (int) loc3 ; < /* loc = (loc1*loc2) % hashtable->nlist ; */ --- > loc = (loc1*loc2) % hashtable->nlist ; 169c163 < fprintf(stdout, "\n loc1 = %d, loc2 = %d, loc3 = %ld, loc = %d", loc1, loc2, loc3, loc) ; --- > fprintf(stdout, "\n loc1 = %d, loc2 = %d, loc3 = %d", loc1, loc2, loc) ; 224d217 < long int loc3 ; 239,241c232 < loc3 = (long int)loc1*(long int)loc2 % hashtable->nlist ; < loc = (int) loc3 ; < /* loc = (loc1*loc2) % hashtable->nlist ; */ --- > loc = (loc1*loc2) % hashtable->nlist ; 306c297 < measure += (double)count*(double)count ; --- > measure += count*count ; F1/cpl8010_src> diff I2Ohash/src/IO.c* 44c44 < measure += (double)count*(double)count ; --- > measure += count*count ; -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17-2-amd64 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

