summaryrefslogtreecommitdiff
path: root/methods/basehttp.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2021-02-09 09:38:48 +0000
committerJulian Andres Klode <jak@debian.org>2021-02-09 09:38:48 +0000
commitcb60beb83610783f664da0bbe1cdb7211aaba90f (patch)
treea594f98222c256e6cec1a97c87305083823f0c91 /methods/basehttp.h
parent4c3383746f2974be5fdec86616f45fd85948a9aa (diff)
parent131d0e3a261076da715102cb79275988cac810d1 (diff)
Merge branch 'pu/fuzzerpatches' into 'master'
Various patches uplifted from unfinished fuzzer branches See merge request apt-team/apt!158
Diffstat (limited to 'methods/basehttp.h')
-rw-r--r--methods/basehttp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/basehttp.h b/methods/basehttp.h
index 62c9963ea..c0d14d854 100644
--- a/methods/basehttp.h
+++ b/methods/basehttp.h
@@ -60,7 +60,7 @@ struct RequestState
bool AddPartialFileToHashes(FileFd &File);
RequestState(BaseHttpMethod * const Owner, ServerState * const Server) :
- Owner(Owner), Server(Server) { time(&Date); }
+ Owner(Owner), Server(Server) { time(&Date); Code[0] = '\0'; }
};
struct ServerState
{