* Reinitialise macro_nest
@ 2023-01-19 8:10 Alan Modra
0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2023-01-19 8:10 UTC (permalink / raw)
To: binutils
Another oss-fuzz related patch. Doesn't fix any real bug.
* input-scrub.c (input_scrub_begin): Init macro_nest.
diff --git a/gas/input-scrub.c b/gas/input-scrub.c
index c753243277c..d3da84094ff 100644
--- a/gas/input-scrub.c
+++ b/gas/input-scrub.c
@@ -220,6 +220,7 @@ input_scrub_begin (void)
physical_input_file = NULL; /* No file read yet. */
next_saved_file = NULL; /* At EOF, don't pop to any other file */
+ macro_nest = 0;
input_scrub_reinit ();
do_scrub_begin (flag_m68k_mri);
}
--
Alan Modra
Australia Development Lab, IBM
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-01-19 8:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-19 8:10 Reinitialise macro_nest Alan Modra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).