about summary refs log tree commit diff
path: root/src/malloc
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-10-18 13:33:11 -0400
committerRich Felker <dalias@aerifal.cx>2018-10-18 13:36:43 -0400
commita21a6092cfc0c7e7cb8c0273e5f94d54c0e0eabd (patch)
tree84ffe8c11658cccb19f5b68897f78f7eb221d752 /src/malloc
parent9dd19122565c70bc6e0fff35724c91a61209a629 (diff)
downloadmusl-a21a6092cfc0c7e7cb8c0273e5f94d54c0e0eabd.tar.gz
musl-a21a6092cfc0c7e7cb8c0273e5f94d54c0e0eabd.tar.xz
musl-a21a6092cfc0c7e7cb8c0273e5f94d54c0e0eabd.zip
fix wrong result for putc variants due to operator precedence
the internal putc_unlocked macro was wrongly returning a meaningless
boolean result rather than the written character or EOF.

bug was found by reading (very surprising) asm.
Diffstat (limited to 'src/malloc')
0 files changed, 0 insertions, 0 deletions