fix reading outside buffer
This commit is contained in:
parent
a7b3aa73b2
commit
7b9e254a8b
@ -57,11 +57,9 @@ int PQCLEAN_LEDAKEMLT12_CLEAN_DFR_test(POSITION_T LSparse[N0][DV * M]) {
|
|||||||
intersectionval++;
|
intersectionval++;
|
||||||
firstidx++;
|
firstidx++;
|
||||||
secondidx++;
|
secondidx++;
|
||||||
}
|
} else if ( LSparse_loc[i][firstidx] > rotated_column[secondidx] ) {
|
||||||
if ( LSparse_loc[i][firstidx] > rotated_column[secondidx] ) {
|
|
||||||
secondidx++;
|
secondidx++;
|
||||||
}
|
} else { /*if ( LSparse_loc[i][firstidx] < rotated_column[secondidx] ) */
|
||||||
if ( LSparse_loc[i][firstidx] < rotated_column[secondidx] ) {
|
|
||||||
firstidx++;
|
firstidx++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user