dangerous unsigned/signed comparison
Status: Inactive
Brought to you by:
markroth8
To prevent from SEGFAULT on short input
you should apply the following patch
after applying the "fix when reading from pipe *
2004-05-17 04:07 5 nobody djerius".
*** orig/x125_cmyk.c 2005-05-07 10:11:59.003393504 +0200
--- x125_cmyk.c 2005-05-07 10:10:52.928438424 +0200
***************
*** 498,500 ****
src += (left+packets-1) * 24;
! for( x = (left+packets-1); x >= left; x-- ) {
// build directory, start with
lowest-order bit
--- 498,500 ----
src += (left+packets-1) * 24;
! for( x = (left+packets-1); x >= (int) left;
x-- ) {
// build directory, start with
lowest-order bit
patch x125_cmyk.c