don't use the idiom char foo[BUFSIZ]; snprintf(foo, BUFSIZ, ....); but char foo[BUFSIZ]; snprintf(foo, sizeo foo, ....); because this will automatically catch situations where the size of foo is later changed, e.g. like foo[BUFSIZ + 8]; Fix another use of sprintf. |
||
|---|---|---|
| .. | ||
| admin | ||
| config | ||
| databases | ||
| doc | ||
| examples | ||
| imports/motif | ||
| include | ||
| lib | ||
| logs | ||
| osf | ||
| programs | ||
| util | ||
| .gitignore | ||
| BUGREPORT | ||
| CLOSEDBUGS | ||
| CONTRIBUTORS | ||
| COPYING | ||
| Imakefile | ||
| Makefile | ||
| OPENBUGS | ||
| README-2.1.10 | ||
| README-2.1.20 | ||
| README-2.1.30 | ||
| README-2.1.30.snapshot | ||
| ReleaseNotes.ps | ||
| ReleaseNotes.sgm | ||
| copyright | ||
| copyright.old | ||