Permalink
Browse files

fix off by one error in custom header parsing

  • Loading branch information...
lasselukkari committed Jan 6, 2018
1 parent 6d9df53 commit e7a2a3a4621ca89ef7c5fc547e4da67a8860bf71
Showing with 1 addition and 1 deletion.
  1. +1 −1 aWOT.cpp
View
@@ -495,7 +495,7 @@ void Request::m_readHeader(char *value, int valueLen) {
} while (ch == ' ' || ch == '\t');
do {
if (valueLen > 1) {
if (valueLen > 0) {
*value++ = ch;
--valueLen;
}

0 comments on commit e7a2a3a

Please sign in to comment.