diff options
-rw-r--r-- | sbin/iked/parse.y | 4 | ||||
-rw-r--r-- | sbin/ipsecctl/parse.y | 4 | ||||
-rw-r--r-- | sbin/pfctl/parse.y | 4 | ||||
-rw-r--r-- | usr.sbin/acme-client/parse.y | 4 | ||||
-rw-r--r-- | usr.sbin/bgpd/parse.y | 4 | ||||
-rw-r--r-- | usr.sbin/dvmrpd/parse.y | 4 | ||||
-rw-r--r-- | usr.sbin/eigrpd/parse.y | 4 | ||||
-rw-r--r-- | usr.sbin/hostapd/parse.y | 4 | ||||
-rw-r--r-- | usr.sbin/httpd/parse.y | 4 | ||||
-rw-r--r-- | usr.sbin/ifstated/parse.y | 4 | ||||
-rw-r--r-- | usr.sbin/iscsictl/parse.y | 4 | ||||
-rw-r--r-- | usr.sbin/ldapd/parse.y | 4 | ||||
-rw-r--r-- | usr.sbin/ldpd/parse.y | 4 | ||||
-rw-r--r-- | usr.sbin/ospf6d/parse.y | 4 | ||||
-rw-r--r-- | usr.sbin/ospfd/parse.y | 4 | ||||
-rw-r--r-- | usr.sbin/relayd/parse.y | 4 | ||||
-rw-r--r-- | usr.sbin/ripd/parse.y | 4 | ||||
-rw-r--r-- | usr.sbin/smtpd/parse.y | 4 | ||||
-rw-r--r-- | usr.sbin/snmpd/parse.y | 4 | ||||
-rw-r--r-- | usr.sbin/vmd/parse.y | 4 | ||||
-rw-r--r-- | usr.sbin/ypldap/parse.y | 4 |
21 files changed, 63 insertions, 21 deletions
diff --git a/sbin/iked/parse.y b/sbin/iked/parse.y index 25446345a5a..2f507ff7bea 100644 --- a/sbin/iked/parse.y +++ b/sbin/iked/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.70 2018/01/31 13:25:55 patrick Exp $ */ +/* $OpenBSD: parse.y,v 1.71 2018/04/26 14:12:19 krw Exp $ */ /* * Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org> @@ -1074,6 +1074,8 @@ varset : STRING '=' string if (isspace((unsigned char)*s)) { yyerror("macro name cannot contain " "whitespace"); + free($1); + free($3); YYERROR; } } diff --git a/sbin/ipsecctl/parse.y b/sbin/ipsecctl/parse.y index d5ba39ee185..d9739724d32 100644 --- a/sbin/ipsecctl/parse.y +++ b/sbin/ipsecctl/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.169 2017/10/27 08:29:32 mpi Exp $ */ +/* $OpenBSD: parse.y,v 1.170 2018/04/26 14:12:19 krw Exp $ */ /* * Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -911,6 +911,8 @@ varset : STRING '=' string if (isspace((unsigned char)*s)) { yyerror("macro name cannot contain " "whitespace"); + free($1); + free($3); YYERROR; } } diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y index af2a9fedb4c..53b2337b468 100644 --- a/sbin/pfctl/parse.y +++ b/sbin/pfctl/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.670 2018/02/08 09:15:46 henning Exp $ */ +/* $OpenBSD: parse.y,v 1.671 2018/04/26 14:12:19 krw Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -788,6 +788,8 @@ varset : STRING '=' varstring { if (isspace((unsigned char)*s)) { yyerror("macro name cannot contain " "whitespace"); + free($1); + free($3); YYERROR; } } diff --git a/usr.sbin/acme-client/parse.y b/usr.sbin/acme-client/parse.y index 1630b85b5c4..dbc290561af 100644 --- a/usr.sbin/acme-client/parse.y +++ b/usr.sbin/acme-client/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.20 2018/04/08 19:10:12 florian Exp $ */ +/* $OpenBSD: parse.y,v 1.21 2018/04/26 14:12:19 krw Exp $ */ /* * Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv> @@ -148,6 +148,8 @@ varset : STRING '=' string { if (isspace((unsigned char)*s)) { yyerror("macro name cannot contain " "whitespace"); + free($1); + free($3); YYERROR; } } diff --git a/usr.sbin/bgpd/parse.y b/usr.sbin/bgpd/parse.y index 8b7af1b1ab6..2a33222386a 100644 --- a/usr.sbin/bgpd/parse.y +++ b/usr.sbin/bgpd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.319 2018/02/10 01:24:28 benno Exp $ */ +/* $OpenBSD: parse.y,v 1.320 2018/04/26 14:12:19 krw Exp $ */ /* * Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -365,6 +365,8 @@ varset : STRING '=' string { if (isspace((unsigned char)*s)) { yyerror("macro name cannot contain " "whitespace"); + free($1); + free($3); YYERROR; } } diff --git a/usr.sbin/dvmrpd/parse.y b/usr.sbin/dvmrpd/parse.y index 6a2dac8581d..a0586ef5620 100644 --- a/usr.sbin/dvmrpd/parse.y +++ b/usr.sbin/dvmrpd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.32 2017/01/05 13:53:09 krw Exp $ */ +/* $OpenBSD: parse.y,v 1.33 2018/04/26 14:12:19 krw Exp $ */ /* * Copyright (c) 2004, 2005, 2006 Esben Norby <norby@openbsd.org> @@ -170,6 +170,8 @@ varset : STRING '=' string { if (isspace((unsigned char)*s)) { yyerror("macro name cannot contain " "whitespace"); + free($1); + free($3); YYERROR; } } diff --git a/usr.sbin/eigrpd/parse.y b/usr.sbin/eigrpd/parse.y index ea9e5b18163..4747df4de99 100644 --- a/usr.sbin/eigrpd/parse.y +++ b/usr.sbin/eigrpd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.22 2017/02/22 14:24:50 renato Exp $ */ +/* $OpenBSD: parse.y,v 1.23 2018/04/26 14:12:19 krw Exp $ */ /* * Copyright (c) 2015 Renato Westphal <renato@openbsd.org> @@ -211,6 +211,8 @@ varset : STRING '=' string { if (isspace((unsigned char)*s)) { yyerror("macro name cannot contain " "whitespace"); + free($1); + free($3); YYERROR; } } diff --git a/usr.sbin/hostapd/parse.y b/usr.sbin/hostapd/parse.y index 3d5254907de..318abe8fdc0 100644 --- a/usr.sbin/hostapd/parse.y +++ b/usr.sbin/hostapd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.54 2018/02/13 17:35:32 cheloha Exp $ */ +/* $OpenBSD: parse.y,v 1.55 2018/04/26 14:12:19 krw Exp $ */ /* * Copyright (c) 2004, 2005, 2006 Reyk Floeter <reyk@openbsd.org> @@ -977,6 +977,8 @@ varset : STRING '=' string if (isspace((unsigned char)*s)) { yyerror("macro name cannot contain " "whitespace"); + free($1); + free($3); YYERROR; } } diff --git a/usr.sbin/httpd/parse.y b/usr.sbin/httpd/parse.y index 2fb9c8cff19..6a3f4b53122 100644 --- a/usr.sbin/httpd/parse.y +++ b/usr.sbin/httpd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.93 2018/04/11 15:50:46 florian Exp $ */ +/* $OpenBSD: parse.y,v 1.94 2018/04/26 14:12:19 krw Exp $ */ /* * Copyright (c) 2007 - 2015 Reyk Floeter <reyk@openbsd.org> @@ -175,6 +175,8 @@ varset : STRING '=' STRING { if (isspace((unsigned char)*s)) { yyerror("macro name cannot contain " "whitespace"); + free($1); + free($3); YYERROR; } } diff --git a/usr.sbin/ifstated/parse.y b/usr.sbin/ifstated/parse.y index 326f107650b..12adbfa66f6 100644 --- a/usr.sbin/ifstated/parse.y +++ b/usr.sbin/ifstated/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.48 2018/03/06 15:26:14 rob Exp $ */ +/* $OpenBSD: parse.y,v 1.49 2018/04/26 14:12:19 krw Exp $ */ /* * Copyright (c) 2004 Ryan McBride <mcbride@openbsd.org> @@ -149,6 +149,8 @@ varset : STRING '=' string { if (isspace((unsigned char)*s)) { yyerror("macro name cannot contain " "whitespace"); + free($1); + free($3); YYERROR; } } diff --git a/usr.sbin/iscsictl/parse.y b/usr.sbin/iscsictl/parse.y index 699ce7a298e..c8b9377f165 100644 --- a/usr.sbin/iscsictl/parse.y +++ b/usr.sbin/iscsictl/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.10 2017/01/05 13:53:09 krw Exp $ */ +/* $OpenBSD: parse.y,v 1.11 2018/04/26 14:12:19 krw Exp $ */ /* * Copyright (c) 2010 David Gwynne <dlg@openbsd.org> @@ -160,6 +160,8 @@ varset : STRING '=' string { if (isspace((unsigned char)*s)) { yyerror("macro name cannot contain " "whitespace"); + free($1); + free($3); YYERROR; } } diff --git a/usr.sbin/ldapd/parse.y b/usr.sbin/ldapd/parse.y index a945dc32b43..85c4db7f760 100644 --- a/usr.sbin/ldapd/parse.y +++ b/usr.sbin/ldapd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.25 2017/08/28 06:00:05 florian Exp $ */ +/* $OpenBSD: parse.y,v 1.26 2018/04/26 14:12:19 krw Exp $ */ /* * Copyright (c) 2009, 2010 Martin Hedenfalk <martinh@openbsd.org> @@ -365,6 +365,8 @@ varset : STRING '=' STRING { if (isspace((unsigned char)*s)) { yyerror("macro name cannot contain " "whitespace"); + free($1); + free($3); YYERROR; } } diff --git a/usr.sbin/ldpd/parse.y b/usr.sbin/ldpd/parse.y index 7593c5a39df..a79bac66f41 100644 --- a/usr.sbin/ldpd/parse.y +++ b/usr.sbin/ldpd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.61 2017/03/03 23:41:27 renato Exp $ */ +/* $OpenBSD: parse.y,v 1.62 2018/04/26 14:12:19 krw Exp $ */ /* * Copyright (c) 2013, 2015, 2016 Renato Westphal <renato@openbsd.org> @@ -216,6 +216,8 @@ varset : STRING '=' string { if (isspace((unsigned char)*s)) { yyerror("macro name cannot contain " "whitespace"); + free($1); + free($3); YYERROR; } } diff --git a/usr.sbin/ospf6d/parse.y b/usr.sbin/ospf6d/parse.y index 69953a912c7..f3e49572e7f 100644 --- a/usr.sbin/ospf6d/parse.y +++ b/usr.sbin/ospf6d/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.30 2017/01/05 13:53:09 krw Exp $ */ +/* $OpenBSD: parse.y,v 1.31 2018/04/26 14:12:19 krw Exp $ */ /* * Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org> @@ -186,6 +186,8 @@ varset : STRING '=' string { if (isspace((unsigned char)*s)) { yyerror("macro name cannot contain " "whitespace"); + free($1); + free($3); YYERROR; } } diff --git a/usr.sbin/ospfd/parse.y b/usr.sbin/ospfd/parse.y index 859918537cc..35323306bb2 100644 --- a/usr.sbin/ospfd/parse.y +++ b/usr.sbin/ospfd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.86 2018/02/11 02:27:33 benno Exp $ */ +/* $OpenBSD: parse.y,v 1.87 2018/04/26 14:12:19 krw Exp $ */ /* * Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org> @@ -203,6 +203,8 @@ varset : STRING '=' string { if (isspace((unsigned char)*s)) { yyerror("macro name cannot contain " "whitespace"); + free($1); + free($3); YYERROR; } } diff --git a/usr.sbin/relayd/parse.y b/usr.sbin/relayd/parse.y index e9800260c18..5d12a17c114 100644 --- a/usr.sbin/relayd/parse.y +++ b/usr.sbin/relayd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.222 2018/04/18 12:10:54 claudio Exp $ */ +/* $OpenBSD: parse.y,v 1.223 2018/04/26 14:12:19 krw Exp $ */ /* * Copyright (c) 2007 - 2014 Reyk Floeter <reyk@openbsd.org> @@ -358,6 +358,8 @@ varset : STRING '=' STRING { if (isspace((unsigned char)*s)) { yyerror("macro name cannot contain " "whitespace"); + free($1); + free($3); YYERROR; } } diff --git a/usr.sbin/ripd/parse.y b/usr.sbin/ripd/parse.y index 2a56760122b..5c9ebec2542 100644 --- a/usr.sbin/ripd/parse.y +++ b/usr.sbin/ripd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.37 2017/01/05 13:53:09 krw Exp $ */ +/* $OpenBSD: parse.y,v 1.38 2018/04/26 14:12:19 krw Exp $ */ /* * Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it> @@ -154,6 +154,8 @@ varset : STRING '=' string { if (isspace((unsigned char)*s)) { yyerror("macro name cannot contain " "whitespace"); + free($1); + free($3); YYERROR; } } diff --git a/usr.sbin/smtpd/parse.y b/usr.sbin/smtpd/parse.y index 5cf4a24b8c0..2ebfe459fa9 100644 --- a/usr.sbin/smtpd/parse.y +++ b/usr.sbin/smtpd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.199 2017/09/08 16:51:21 eric Exp $ */ +/* $OpenBSD: parse.y,v 1.200 2018/04/26 14:12:19 krw Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@poolp.org> @@ -214,6 +214,8 @@ varset : STRING '=' STRING { if (isspace((unsigned char)*s)) { yyerror("macro name cannot contain " "whitespace"); + free($1); + free($3); YYERROR; } } diff --git a/usr.sbin/snmpd/parse.y b/usr.sbin/snmpd/parse.y index 94c97fbbbb4..d0df33762ac 100644 --- a/usr.sbin/snmpd/parse.y +++ b/usr.sbin/snmpd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.46 2018/04/15 11:57:29 mpf Exp $ */ +/* $OpenBSD: parse.y,v 1.47 2018/04/26 14:12:19 krw Exp $ */ /* * Copyright (c) 2007, 2008, 2012 Reyk Floeter <reyk@openbsd.org> @@ -172,6 +172,8 @@ varset : STRING '=' STRING { if (isspace((unsigned char)*s)) { yyerror("macro name cannot contain " "whitespace"); + free($1); + free($3); YYERROR; } } diff --git a/usr.sbin/vmd/parse.y b/usr.sbin/vmd/parse.y index 7655ba5c89b..91e5d379821 100644 --- a/usr.sbin/vmd/parse.y +++ b/usr.sbin/vmd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.32 2018/01/03 05:39:56 ccardenas Exp $ */ +/* $OpenBSD: parse.y,v 1.33 2018/04/26 14:12:19 krw Exp $ */ /* * Copyright (c) 2007-2016 Reyk Floeter <reyk@openbsd.org> @@ -159,6 +159,8 @@ varset : STRING '=' STRING { if (isspace((unsigned char)*s)) { yyerror("macro name cannot contain " "whitespace"); + free($1); + free($3); YYERROR; } } diff --git a/usr.sbin/ypldap/parse.y b/usr.sbin/ypldap/parse.y index afe56971092..7ad030ae5b0 100644 --- a/usr.sbin/ypldap/parse.y +++ b/usr.sbin/ypldap/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.23 2017/08/28 06:00:05 florian Exp $ */ +/* $OpenBSD: parse.y,v 1.24 2018/04/26 14:12:19 krw Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -148,6 +148,8 @@ varset : STRING '=' STRING { if (isspace((unsigned char)*s)) { yyerror("macro name cannot contain " "whitespace"); + free($1); + free($3); YYERROR; } } |