Age | Commit message (Collapse) | Author |
|
The Windows API has an _snprintf function that is not the same as
Unix's snprintf(): if the string is truncated then no trailing NUL
character is appended. This makes the function unsafe. Define a
replacement/wrapper called M_snprintf that works the same but always
appends a trailing NUL, for safety on Windows and other OSes that
behave like this.
Do the same thing for vsnprintf(), and update HACKING to list
snprintf/vsnprintf as forbidden functions. This fixes #375;
thanks to Quasar for pointing out the different behavior of these
functions.
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2537
|
|
messages from the master server, to be used at the start and end of
recording a secure demo.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2535
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 2258
|
|
also checks that extra options were provided on the command line (thanks
Sander van Dijk).
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2223
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1737
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1699
|
|
level.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1204
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 977
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 925
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 806
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 704
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 684
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 611
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 543
|
|
-connect hostname:port.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 479
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 467
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 465
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 244
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 231
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 229
|