diff --git a/iguana/exchanges/LP_privkey.c b/iguana/exchanges/LP_privkey.c index 62b98e3d1..96d86bb92 100644 --- a/iguana/exchanges/LP_privkey.c +++ b/iguana/exchanges/LP_privkey.c @@ -482,7 +482,7 @@ int32_t LP_jpg_process(int32_t *capacityp,char *inputfname,char *outputfname,uin for (i=0; i= 8 ) + if ( val < -8 || val >= 8 ) { if ( (*capacityp) < required ) { @@ -520,7 +520,7 @@ int32_t LP_jpg_process(int32_t *capacityp,char *inputfname,char *outputfname,uin for (i=0; i= 8 ) + if ( val < -8 || val >= 8 ) { val &= ~1; if (GETBIT(data,emit) != 0 )//|| (emit >= required && (rand() & 1) != 0) )