5ff6197f82
The jump to 4f will cause the NUL padding loop to run at least one time, so if string length is zero just jump to the end. Otherwise we wrongly write one NUL byte when size==0. Signed-off-by: Steven Miao <realmz6@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> |
||
---|---|---|
.. | ||
ashldi3.c | ||
ashrdi3.c | ||
divsi3.S | ||
gcclib.h | ||
ins.S | ||
lshrdi3.c | ||
Makefile | ||
memchr.S | ||
memcmp.S | ||
memcpy.S | ||
memmove.S | ||
memset.S | ||
modsi3.S | ||
muldi3.S | ||
outs.S | ||
smulsi3_highpart.S | ||
strcmp.S | ||
strcpy.S | ||
strncmp.S | ||
strncpy.S | ||
udivsi3.S | ||
umodsi3.S | ||
umulsi3_highpart.S |