Skip to content

Commit

Permalink
Merge pull request #6 from sorin-manole/master
Browse files Browse the repository at this point in the history
Fix buffer overread while parsing part data
  • Loading branch information
FooBarWidget committed Apr 12, 2016
2 parents 9cce766 + ee764e9 commit fe5c296
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions MultipartParser.h
Expand Up @@ -135,6 +135,9 @@ class MultipartParser {

i += boundarySize;
}
if (i == len) {
return;
}
c = buffer[i];
}

Expand Down

0 comments on commit fe5c296

Please sign in to comment.