aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2024-01-19 15:19:49 +0000
committerRon Yorston <rmy@pobox.com>2024-01-19 15:19:49 +0000
commit042520e46621e434c9bd2da6b100b32ccdee55a5 (patch)
treeb447f439a2fe16ad1e2f7517976d0fae39abfdea /arch
parentea8742bc1657cd0aae32ac555560c8228795488f (diff)
downloadbusybox-w32-042520e46621e434c9bd2da6b100b32ccdee55a5.tar.gz
busybox-w32-042520e46621e434c9bd2da6b100b32ccdee55a5.tar.bz2
busybox-w32-042520e46621e434c9bd2da6b100b32ccdee55a5.zip
awk: fix segfault when compiled by clang
A 32-bit build of BusyBox using clang segfaulted in the test "awk assign while assign". Specifically, on line 7 of the test input where the adjustment of the L.v pointer when the Fields array was reallocated: L.v += Fields - old_Fields_ptr; was out by 4 bytes. Rearrange to code so both gcc and clang generate code that works. This patch has been submitted upstream. Until it's accepted there the new code is only used in builds for Windows.
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions