style: prefer snprintf to sprintf

* src/symtab.c (dummy_symbol_get): There's no need for the buffer to
be so big and static.
Use snprintf for safety.
This commit is contained in:
Akim Demaille
2019-02-02 10:13:22 +01:00
parent 9566232422
commit d459a5b8e6
3 changed files with 6 additions and 4 deletions

1
lib/.gitignore vendored
View File

@@ -318,3 +318,4 @@
/rename.c
/rmdir.c
/same-inode.h
/assure.h