diff options
| author | Alice Carlotti <alice.carlotti@arm.com> | 2026-01-07 19:47:45 +0000 |
|---|---|---|
| committer | Alice Carlotti <alice.carlotti@arm.com> | 2026-02-10 16:41:04 +0000 |
| commit | f591c0cb2c7d7fe52be780004ec793cffc82296a (patch) | |
| tree | 8b9f1fc77346489421697d4b411ec4e3649148b3 /libjava/classpath/java/math | |
| parent | 065a6ab3747fe9116643ac6754582bc195847bfc (diff) | |
| download | gcc-f591c0cb2c7d7fe52be780004ec793cffc82296a.zip gcc-f591c0cb2c7d7fe52be780004ec793cffc82296a.tar.gz gcc-f591c0cb2c7d7fe52be780004ec793cffc82296a.tar.bz2 | |
aarch64: Improve --with-arch checks
- Check for invalid characters before further processing. Allow only
alphanumeric characters, "-", "+" and ".".
- Convert "." to "\." before using user input in a sed expression.
- Reject zero-length extension names.
- Quote variables used in echo commands, to avoid unwanted shell
expansions.
Without these changes, various invalid inputs would be accepted, for
example due to misparsing of "*" and "." characters in regexps and
shell expansions. Some inputs could also lead to an infinite loop.
gcc/ChangeLog:
* config.gcc: Improve aarch64 --with-arch checks.
Diffstat (limited to 'libjava/classpath/java/math')
0 files changed, 0 insertions, 0 deletions
