Bill Currie
b34504057c
char *buf; strn.* (..., sizeof(buf) ...) doesn't work so well :/
2000-12-05 16:41:28 +00:00
Bill Currie
eae11661e4
strncat parameter audit. Unfortunatly, strncat is counter-intutite: the n in
...
strncat is not the maximum length of the destination string, but of the SOURCE
string, thus strncat (dest, src, sizeof (dest)) is incorrect. It should be
strncat (dest, src, sizeof (text) - strlen (dest)). Even then, no terminating
nul will be written if src is too long, but at least it won't crash the stack:)
2000-12-05 16:04:12 +00:00
Zephaniah E. Hull
66e0e31b57
strcat -> strncat
...
sprintf -> snprintf
AKA, really big buffer overflow security fixes.
More to come, geez we have holes everywhere.
2000-12-05 11:08:30 +00:00
Bill Currie
d295f183ba
remove va from commdef.h and fix the consequences
2000-10-21 07:34:56 +00:00
Bill Currie
2682888425
the big cvar value -> int_val audit. seems to work ok
2000-10-17 03:17:42 +00:00
Bill Currie
86f87122c0
zlib support (gzipped pack contents). if you have a probelm with gzgets, you
...
have 3 choices: remove /usr/X11R6/lib/libz.a, --diable-zlib, or fix configure.
I do intend on fixing it myself.
2000-09-27 19:44:26 +00:00
Maddes Buecher
b34a867ec0
FTOS fix: no leading spaces and keeping maximum precision for float values
2000-08-16 21:43:24 +00:00
Anton E. Gavrilov
6024c0ce7f
Solution for stufftext problem
2000-06-18 14:24:19 +00:00
Anton E. Gavrilov
df980b44a1
CVAR_FIXME cleanup
2000-06-09 23:37:39 +00:00
Bill Currie
e98edd5f5f
revert back to using f* for file io. I hope this fixes the catapult, but I wouldn't be suprised if it doesn't.
2000-05-23 22:43:36 +00:00
Bill Currie
af032b8d55
port in some improvements from OT (namely fs_basepath, etc, though commandline parsing isn't finished yet)
...
split up the headerfiles and such. common.[ch] and qwsvdef.h no longer exist. More work still needs to be done (esp for windows) but this should be a major improvement.
2000-05-21 08:24:45 +00:00
Anton E. Gavrilov
1f97d4fc63
Added checking of cvar aliases in PF_cvar_set();
...
Added a warning message when the cvar is not found (should that be DPrint?).
2000-05-19 07:48:06 +00:00
Bill Currie
64d00faa8f
Apply theoddone33's cvar patch (he's having connectivity problems with tank)
2000-05-17 23:16:23 +00:00
Bill Currie
832af13c12
all files now include config.h
2000-05-17 10:03:19 +00:00
Dan Olson
1d26c02826
Cvar merge... segfault problems... also unknown problems in vid_svga.c
2000-05-16 04:47:41 +00:00
Joseph Carter
38f9b705b9
Whee! Every source file just got edited. Added the QF-style GPL header
...
to the top. What I didn't add was descriptions. Someone else wanna take
those on?
2000-05-11 16:03:29 +00:00
Dan Olson
b139acafc2
^M cleanup, and qw-server compiles with -Werror
2000-05-10 20:33:16 +00:00
Joseph Carter
d859383680
Initial revision
2000-05-10 11:29:38 +00:00