summaryrefslogtreecommitdiff
path: root/arch/mipsn32/crt_arch.h
diff options
context:
space:
mode:
authorRyan Fairfax <rfairfax@microsoft.com>2019-03-07 13:20:54 -0800
committerRich Felker <dalias@aerifal.cx>2019-03-13 11:44:12 -0400
commit2a0ff45b362b7f0f89374ba7240c469d9ea53562 (patch)
tree3a4fffa419b7ac9b7c2d781e099eeba1f791fcc1 /arch/mipsn32/crt_arch.h
parent4b125dd408d54487dc8843b9553502aa0c4167f8 (diff)
downloadmusl-2a0ff45b362b7f0f89374ba7240c469d9ea53562.tar.gz
handle labels with 8-bit byte values in dn_skipname
The original logic considered each byte until it either found a 0 value or a value >= 192. This means if a string segment contained any byte >= 192 it was interepretted as a compressed segment marker even if it wasn't in a position where it should be interpretted as such. The fix is to adjust dn_skipname to increment by each segments size rather than look at each character. This avoids misinterpretting string segment characters by not considering those bytes.
Diffstat (limited to 'arch/mipsn32/crt_arch.h')
0 files changed, 0 insertions, 0 deletions