| commit | d80081ef39c729b0f5f548c9567be2d80dcc2fd0 | [log] [tgz] |
|---|---|---|
| author | Alan Modra <amodra@gmail.com> | Wed Mar 01 12:58:41 2023 +1030 |
| committer | Alan Modra <amodra@gmail.com> | Wed Mar 01 13:28:13 2023 +1030 |
| tree | 0ae6caa3423858c9d4fc02e307bed3a4802ec8e4 | |
| parent | d09f4d4a9b96dcb4b732fe13549506be5b276ec2 [diff] |
Catch overflow in gas s_space
Also fix an error introduced in 1998 in reporting a zero count for
negative counts.
* read.c (s_space): Use unsigned multiply, and catch overflow.
Correct order of tests for invalid repeat counts. Ensure
ignored directives don't affect mri_pending_align.