ubsan: logical_input_line signed integer overflow
authorAlan Modra <amodra@gmail.com>
Fri, 18 Mar 2022 02:46:43 +0000 (13:16 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 18 Mar 2022 06:07:36 +0000 (16:37 +1030)
commitecc263d676f1b9b568d95d9b6f678186cc825670
treee1e21a9f8aae8b29457932abdcfa9e778a838909
parent9ef0cc6c3aaacbdc64d8816711c94fdf559543ca
ubsan: logical_input_line signed integer overflow

To avoid a completely useless fuzzing ubsan "bug" report, I decided to
make logical_input_line unsigned.

* input-scrub.c (logical_input_line): Make unsigned.
(struct input_save): Here too.
(input_scrub_reinit, input_scrub_close, bump_line_counters),
(as_where): Adjust to suit.
gas/input-scrub.c