1
0
Fork 0
forked from fte/fteqw
Commit graph

185 commits

Author SHA1 Message Date
Spoike
a8ad49db87 Fixed http url markup, courtesy of Cokeman.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3023 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-07-10 08:18:50 +00:00
Spoike
64c9a31e6b There. Happy now?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3017 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-25 08:29:14 +00:00
Spoike
4dfdca03f5 Fixed handling of header fields. This is a major security bug fix (omission bug). Added some additional measures to prevent client exploitation also (clients should do this themselves too). Used some snprintfs instead of sprintfs due to paranoia, but these will fix nothing as it currently stands.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3016 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-25 07:13:47 +00:00
Spoike
2c2560eef4 The buffer is not meant to be terminated by a null terminator, but instead has a length. (it is always null terminated despite this)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3015 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-25 07:09:39 +00:00
Spoike
5e166cb9ce Made the (currently disabled) http download code more secure.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2975 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 22:02:52 +00:00
Spoike
85570cc4f4 okay, that print isn't meant to be stream-specific
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2904 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-04 11:31:32 +00:00
TimeServ
1805f13b23 changed #warning to comments so vc2005 would compile everything
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2896 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-01 06:13:30 +00:00
Molgrum
482f37dc5c Another Spike-miss detected by qqshka.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2839 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-03 23:30:08 +00:00
Lance
90c8efe4dd Apple GCC doesn't like a space between -L and the directory name
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2838 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-02 13:54:26 +00:00
Mark Olsen
cea7541e7d Microsoft suck.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2837 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-02 13:41:57 +00:00
Lance
7827db0dfb Fix for MacOSX gcc compiler
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2836 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-31 13:03:08 +00:00
Molgrum
bc41311478 qqshka noticed that the demolist in linux doesn't care about array sizes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2830 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-28 00:13:22 +00:00
Mark Olsen
ac82538714 Less undefined operations.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2829 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:31:27 +00:00
Mark Olsen
868ef2aa33 Only build this code when building for Windows, just to make grumlgrum happy.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2828 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:28:45 +00:00
Mark Olsen
391b3d2057 Removed Q_strncatz() and Q_strncpyz().
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2827 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:21:47 +00:00
Mark Olsen
85c9f289a9 Use strlcpy() instead of strncpy().
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2826 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:21:24 +00:00
Mark Olsen
811fb3db90 Use strlcpy() instead of strncpy().
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2825 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:20:24 +00:00
Mark Olsen
0ecc551f45 Removed qstrncpyz() (why all the duplicate functions?), replaced usage of qstrncpyz() with strlcpy(), Made catbuffer() not braindead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2824 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:18:40 +00:00
Mark Olsen
948662ecfa Use strlcpy() instead of strncpy().
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2823 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:17:33 +00:00
Mark Olsen
ad7802e43b Use strlcpy() instead of strncpy() and Q_strncpyz().
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2822 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:17:05 +00:00
Mark Olsen
34488b1dbb Some BSD string prototypes because the dirty GNU hippies are lame.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2821 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:16:27 +00:00
Mark Olsen
fffc415fd0 Build libqtvc, link against it _after_ libc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2820 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:15:22 +00:00
Mark Olsen
178b7fb2ba Profanities for the two major C libraries.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2819 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-27 15:11:07 +00:00
Mark Olsen
203ed87b73 Don't put large structures on the stack.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2813 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-13 06:30:39 +00:00
Spoike
6006580d8a Knocked up some commands and stuff to make qtv not forget about streams that failed. Finally implemented the commands command. Added commands to enable/disable streams.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2812 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-12 11:17:18 +00:00
Mark Olsen
9847a8213b Fixed some speeling.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2810 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-11 16:09:18 +00:00
Mark Olsen
fbdf2d4d25 Now builds with Libnix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2809 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-11 15:47:16 +00:00
Mark Olsen
c212c7e5e0 Because I like blaming Spike.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2808 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-11 15:38:44 +00:00
Mark Olsen
c0a4a2b8fe One less WTF.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2807 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-11 15:28:44 +00:00
Spoike
d3ea7bc446 Fixed a remotly causable crash
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2806 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-10 03:06:28 +00:00
Spoike
e1e5bf1a82 Expanded the limits to match what mvdsv/ezquake allow/expect.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2805 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-10 02:02:14 +00:00
Lance
e557658a34 MACOSX support, it compiles.. whether it works is another story.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2791 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-19 14:49:37 +00:00
Molgrum
2fda3fbb99 Spelling + more verbosity.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2790 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-18 14:55:27 +00:00
Molgrum
5b85ffc865 Make the stream labeling in tuimenu identical to guimenu
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2789 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-16 23:19:55 +00:00
Molgrum
3098def6c2 Add more verbosity.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2788 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-16 18:26:10 +00:00
Molgrum
35854f67b8 Missing linebreaks on these prints.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2787 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-16 17:30:56 +00:00
Spoike
944d4db18c Added more molgrum-style verbosity. Hopefully finally fixed the reason why he gets 'silent' disconnections. Added printf-style warning checks for gcc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2786 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-16 14:53:45 +00:00
Molgrum
e1bd95d392 Changed the "connection established" message to include stream ID too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2785 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-16 01:23:14 +00:00
Molgrum
868c81db4f Fix from Spike. Increase some buffer sizes to solve the "invalid mvd length" messages. FTEQTV still loses connection at mapchange on certain versions of MVDSV.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2784 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-15 21:19:52 +00:00
Molgrum
e46e9e48ea A better spawn point when entering the streamless state.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2782 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-09 17:41:08 +00:00
Molgrum
3a156266a4 More verbose error messages.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2781 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-09 17:34:51 +00:00
Molgrum
9815dec585 Got rid of an annoying printf, added a #warning instead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2774 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-31 21:14:40 +00:00
Molgrum
2f22a2b1cf Temporary workaround for the disconnect-bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2773 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-31 19:59:40 +00:00
Molgrum
c267c17faf Just a spelling fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2772 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-31 19:56:51 +00:00
Spoike
693a184261 Molgrum found a bug with how early-parsing interacts with the rest of the code. This should fix that bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2771 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-30 14:26:03 +00:00
Molgrum
ff17d664ce More verbose error messages.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2770 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-29 20:07:13 +00:00
Spoike
d628214600 Fixed qtv so servers won't strip $\ any more.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2769 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-29 11:39:13 +00:00
Molgrum
6ad7f1d0ae Extended the .help command a little.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2734 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-10 21:09:05 +00:00
Molgrum
9b80f13f2e Bugfixes #16 and #17
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2733 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-10 18:01:27 +00:00
Molgrum
efb447ee5b It now compiles. Fixed a warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2731 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-08 14:48:13 +00:00