summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/asprintf.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-05-23 21:01:01 +0000
committerphk <phk@FreeBSD.org>2001-05-23 21:01:01 +0000
commit35be3f27b219ffed4f5dc879ec5fd3455e8237e6 (patch)
treed83f516930f2f1871d1ad5d89a993c49ea09c448 /lib/libc/stdio/asprintf.c
parente328ed5df347fa845f05fe595a45d69c20f9d47b (diff)
downloadFreeBSD-src-35be3f27b219ffed4f5dc879ec5fd3455e8237e6.zip
FreeBSD-src-35be3f27b219ffed4f5dc879ec5fd3455e8237e6.tar.gz
When a game ends that makes the top 10, the function insert_score in
score.c is called to make the new score file. But the case for KFIRE (killed by fire) incorrectly uses strcpy instead of strcat (all the other cases use strcat). This puts the string in the wrong place and corrupts the score file. PR: 13278 Submitted by: Mark W. Krentel krentel@dreamscape.com
Diffstat (limited to 'lib/libc/stdio/asprintf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud