mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
update ParseRequest to handle missing uri
This commit is contained in:
parent
374e61ee20
commit
020b09faa0
1 changed files with 6 additions and 0 deletions
|
@ -1249,6 +1249,12 @@ int HTTP_Analyzer::ParseRequest(const char* line, const char* end_of_line)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( end_of_uri >= end_of_line )
|
||||||
|
{
|
||||||
|
Weird("missing_HTTP_uri");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
for ( version_start = end_of_uri; version_start < end_of_line; ++version_start )
|
for ( version_start = end_of_uri; version_start < end_of_line; ++version_start )
|
||||||
{
|
{
|
||||||
end_of_uri = version_start;
|
end_of_uri = version_start;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue