diff options
Diffstat (limited to 'proxy-proto.c')
-rw-r--r-- | proxy-proto.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/proxy-proto.c b/proxy-proto.c index bef2633..fe5436d 100644 --- a/proxy-proto.c +++ b/proxy-proto.c @@ -51,6 +51,9 @@ check_proto_v1(char **buf) default: return (-1); } + if ((*buf)[1] != ' ') + return (-1); + // '4' / '6' + ' ' *buf += 2; |