Skip to content

Commit

Permalink
Fix infinite loop on malformed proxy.
Browse files Browse the repository at this point in the history
  • Loading branch information
vonbetz committed Jun 2, 2017
1 parent 8891100 commit f10fdad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions SpiderProxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ bool buildProxyTable ( ) {
//return false;
// advance p
p = s;
// skip to next entry on error
while(*p && !is_wspace_a(*p)) p++;
continue;
}

Expand Down

0 comments on commit f10fdad

Please sign in to comment.