Skip to content

Commit

Permalink
Fix crash reporting errors in undefined libraries (libIID == 0).
Browse files Browse the repository at this point in the history
  • Loading branch information
brianwalenz committed Aug 1, 2013
1 parent 2802ae8 commit 223067d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AS_GKP/AS_GKP_errors.C
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ AS_GKP_reportError(int error, uint32 libIID, ...) {

errorCs[error]++;

if (libError.size() < libIID)
if (libError.size() <= libIID)
libError.resize(libIID + 1);

libError[libIID].errorCs[error]++;
Expand Down

0 comments on commit 223067d

Please sign in to comment.