* src/conflicts.c (conflict_report): Be sure not to append to res

between two calls, which could happen if both first sprintf were
skipped, but not the first cp += strlen.
This commit is contained in:
Akim Demaille
2001-02-08 14:51:33 +00:00
parent 66075dcfc8
commit 22c821f312
2 changed files with 27 additions and 9 deletions

View File

@@ -1,3 +1,9 @@
2001-02-08 Akim Demaille <akim@epita.fr>
* src/conflicts.c (conflict_report): Be sure not to append to res
between two calls, which could happen if both first sprintf were
skipped, but not the first cp += strlen.
2001-02-08 Akim Demaille <akim@epita.fr>
* lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c: