mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 09:13:39 +01:00
Debugger: Fix crash on bad request.
This commit is contained in:
1 parent
190f503565
commit
0d542c6b5a
1 file changed
+1
-1
@@ -154,7 +154,7 @@ void RequestHeader::ParseHeaders(net::InputSink *sink) {
|
||||
}
|
||||
|
||||
VERBOSE_LOG(IO, "finished parsing request.");
|
||||
ok = line_count > 1;
|
||||
ok = line_count > 1 && resource != nullptr;
|
||||
}
|
||||
|
||||
} // namespace http
|
||||
Reference in new issue
Block a user