From 9402120ed88aeb371e125a23c1d84e4daf292dc3 Mon Sep 17 00:00:00 2001 From: mrg Date: Sat, 27 Feb 2021 12:36:46 +0000 Subject: [PATCH] belated call version 20210211 after previous memory leak fix. --- libexec/httpd/CHANGES | 5 +++-- libexec/httpd/bozohttpd.c | 6 +++--- libexec/httpd/bozohttpd.h | 4 ++-- libexec/httpd/cgi-bozo.c | 4 ++-- libexec/httpd/libbozohttpd/libbozohttpd.3 | 4 ++-- libexec/httpd/main.c | 4 ++-- 6 files changed, 14 insertions(+), 13 deletions(-) diff --git a/libexec/httpd/CHANGES b/libexec/httpd/CHANGES index cf0744387e49..5e2338ffeb9e 100644 --- a/libexec/httpd/CHANGES +++ b/libexec/httpd/CHANGES @@ -1,8 +1,9 @@ -$NetBSD: CHANGES,v 1.45 2021/02/11 09:23:55 mrg Exp $ +$NetBSD: CHANGES,v 1.46 2021/02/27 12:36:46 mrg Exp $ -changes in bozohttpd 20210210: +changes in bozohttpd 20210211: o fix various NULL derefs from malformed headers. mostly from . + o fix memory leaks in library interface: add bozo_cleanup(). changes in bozohttpd 20201014: o also set -D_GNU_SOURCE in Makefile.boot. from diff --git a/libexec/httpd/bozohttpd.c b/libexec/httpd/bozohttpd.c index 80e11aaadb9d..29cf1d346cf0 100644 --- a/libexec/httpd/bozohttpd.c +++ b/libexec/httpd/bozohttpd.c @@ -1,9 +1,9 @@ -/* $NetBSD: bozohttpd.c,v 1.126 2021/02/11 09:57:52 mrg Exp $ */ +/* $NetBSD: bozohttpd.c,v 1.127 2021/02/27 12:36:46 mrg Exp $ */ /* $eterna: bozohttpd.c,v 1.178 2011/11/18 09:21:15 mrg Exp $ */ /* - * Copyright (c) 1997-2020 Matthew R. Green + * Copyright (c) 1997-2021 Matthew R. Green * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -108,7 +108,7 @@ #define INDEX_HTML "index.html" #endif #ifndef SERVER_SOFTWARE -#define SERVER_SOFTWARE "bozohttpd/20210210" +#define SERVER_SOFTWARE "bozohttpd/20210211" #endif #ifndef PUBLIC_HTML #define PUBLIC_HTML "public_html" diff --git a/libexec/httpd/bozohttpd.h b/libexec/httpd/bozohttpd.h index 8ce4e97379c8..c83bd112d9d7 100644 --- a/libexec/httpd/bozohttpd.h +++ b/libexec/httpd/bozohttpd.h @@ -1,9 +1,9 @@ -/* $NetBSD: bozohttpd.h,v 1.67 2021/02/11 09:57:52 mrg Exp $ */ +/* $NetBSD: bozohttpd.h,v 1.68 2021/02/27 12:36:46 mrg Exp $ */ /* $eterna: bozohttpd.h,v 1.39 2011/11/18 09:21:15 mrg Exp $ */ /* - * Copyright (c) 1997-2020 Matthew R. Green + * Copyright (c) 1997-2021 Matthew R. Green * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/libexec/httpd/cgi-bozo.c b/libexec/httpd/cgi-bozo.c index 236da9e1ebe2..07f90579b885 100644 --- a/libexec/httpd/cgi-bozo.c +++ b/libexec/httpd/cgi-bozo.c @@ -1,9 +1,9 @@ -/* $NetBSD: cgi-bozo.c,v 1.52 2021/02/11 09:23:55 mrg Exp $ */ +/* $NetBSD: cgi-bozo.c,v 1.53 2021/02/27 12:36:46 mrg Exp $ */ /* $eterna: cgi-bozo.c,v 1.40 2011/11/18 09:21:15 mrg Exp $ */ /* - * Copyright (c) 1997-2020 Matthew R. Green + * Copyright (c) 1997-2021 Matthew R. Green * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/libexec/httpd/libbozohttpd/libbozohttpd.3 b/libexec/httpd/libbozohttpd/libbozohttpd.3 index 3a927e692cba..c4a5451acbd3 100644 --- a/libexec/httpd/libbozohttpd/libbozohttpd.3 +++ b/libexec/httpd/libbozohttpd/libbozohttpd.3 @@ -1,8 +1,8 @@ -.\" $NetBSD: libbozohttpd.3,v 1.5 2021/02/11 09:57:53 mrg Exp $ +.\" $NetBSD: libbozohttpd.3,v 1.6 2021/02/27 12:36:46 mrg Exp $ .\" .\" $eterna: libbozohttpd.3,v 1.2 2010/05/10 02:48:23 mrg Exp $ .\" -.\" Copyright (c) 2009 The NetBSD Foundation, Inc. +.\" Copyright (c) 2009, 2021 The NetBSD Foundation, Inc. .\" All rights reserved. .\" .\" This manual page is derived from software contributed to The diff --git a/libexec/httpd/main.c b/libexec/httpd/main.c index a235275df163..a61c76352440 100644 --- a/libexec/httpd/main.c +++ b/libexec/httpd/main.c @@ -1,10 +1,10 @@ -/* $NetBSD: main.c,v 1.26 2021/02/11 09:57:52 mrg Exp $ */ +/* $NetBSD: main.c,v 1.27 2021/02/27 12:36:46 mrg Exp $ */ /* $eterna: main.c,v 1.6 2011/11/18 09:21:15 mrg Exp $ */ /* from: eterna: bozohttpd.c,v 1.159 2009/05/23 02:14:30 mrg Exp */ /* - * Copyright (c) 1997-2020 Matthew R. Green + * Copyright (c) 1997-2021 Matthew R. Green * All rights reserved. * * Redistribution and use in source and binary forms, with or without