aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon
Commit message (Collapse)AuthorAgeFilesLines
* - Fix bug that allows a malicious server to write and overwrite any files in ↵thilo2006-06-161-11/+40
| | | | | | | | | | | the quake3 directory. Reported by Luigi Auriemma. - Moved directory traversal check to a more proper location. - Added a few sanity checks for checksum/pakname storage to fix a crash that can occur under certain circumstances. git-svn-id: svn://svn.icculus.org/quake3/trunk@804 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix client "freezes" if a user with ASCII characters > 127 enters a server. ↵thilo2006-06-111-0/+5
| | | | | | Reported by tjw git-svn-id: svn://svn.icculus.org/quake3/trunk@803 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fixed a crash in md4 routines when using them on files with zero length, ↵thilo2006-06-011-2/+2
| | | | | | reported by Lukasz Saduniowski. git-svn-id: svn://svn.icculus.org/quake3/trunk@795 edf5b092-35ff-0310-97b2-ce42778d08ea
* Correction in PowerPC JIT code. Fixes crash in server browser, etc, on Mac OS Xicculus2006-05-291-4/+4
| | | | | | | and probably PowerPC Linux, too...fixes Bugzilla #2519. git-svn-id: svn://svn.icculus.org/quake3/trunk@791 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix JIT compiler code execution on NX-protected win32 OSthilo2006-05-151-0/+18
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@780 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix bug that permits download of arbitrary files from a download enabled ↵thilo2006-05-081-8/+1
| | | | | | server by checking requested file name against the list of loaded pk3 files. See CVE-2006-2082 git-svn-id: svn://svn.icculus.org/quake3/trunk@777 edf5b092-35ff-0310-97b2-ce42778d08ea
* Add string length checking to function COM_StripExtension. This fixes the ↵thilo2006-05-064-5/+5
| | | | | | | | | R_RemapShader buffer overflow exploit that can be found here: http://milw0rm.com/exploits/1750 git-svn-id: svn://svn.icculus.org/quake3/trunk@765 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Introduced various new typedefs for windows platform (int32_t, int64_t, ↵thilo2006-04-273-51/+39
| | | | | | | | | etc...) - Applied md5 64-bit safety patch by Tony White. git-svn-id: svn://svn.icculus.org/quake3/trunk@727 edf5b092-35ff-0310-97b2-ce42778d08ea
* - "baseq3" literal replacement patch (by Erik Auerswald) appliedthilo2006-04-262-2/+2
| | | | | | | | - Commented setting of the cl_guid cvar because md5.c is not 64-bit safe. git-svn-id: svn://svn.icculus.org/quake3/trunk@726 edf5b092-35ff-0310-97b2-ce42778d08ea
* Replaced various "baseq3" strings with the centrally defined BASEGAME macro.thilo2006-04-262-6/+6
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@724 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix didn't work yet because it didn't use the buffer where the filename ↵thilo2006-04-231-1/+1
| | | | | | extension chop-off is done. D'oh! git-svn-id: svn://svn.icculus.org/quake3/trunk@722 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Oopstma2006-04-231-0/+299
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@721 edf5b092-35ff-0310-97b2-ce42778d08ea
* * cl_guid for semi-reliable server authentication (from tjw)tma2006-04-221-0/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@720 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix prohibits illegal downloading of id PK3 files from servers. That bug is ↵thilo2006-04-221-0/+7
| | | | | | hit by *every* official server release from ID. git-svn-id: svn://svn.icculus.org/quake3/trunk@718 edf5b092-35ff-0310-97b2-ce42778d08ea
* - botlib logfile now gets stored in the fs_game directory in fs_homepath. ↵thilo2006-04-211-5/+16
| | | | | | | | | | | (patch from Erik Auerswald) - Added proper error handling when fopening qconsole.log - Fixed bug where r_chat.c gets loaded in botlib even when bot_nochat is 1. git-svn-id: svn://svn.icculus.org/quake3/trunk@715 edf5b092-35ff-0310-97b2-ce42778d08ea
* Was that intentional? (version change)zakk2006-04-191-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@709 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Change window titletma2006-03-241-1/+5
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@666 edf5b092-35ff-0310-97b2-ce42778d08ea
* accept pak0.pk3 in demoq3/ as wellludwig2006-03-081-1/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@629 edf5b092-35ff-0310-97b2-ce42778d08ea
* use mmap to allocate memory for generated code to be able to set PROT_EXECludwig2006-03-043-50/+49
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@616 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Displace the '\n's passed to SV_Shutdowntma2006-02-281-4/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@594 edf5b092-35ff-0310-97b2-ce42778d08ea
* try to fix msvc buildludwig2006-02-262-2/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@588 edf5b092-35ff-0310-97b2-ce42778d08ea
* o rlyfloam2006-02-201-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@570 edf5b092-35ff-0310-97b2-ce42778d08ea
* Bump version number.floam2006-02-201-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@569 edf5b092-35ff-0310-97b2-ce42778d08ea
* - change long to intptr_t for 64bit windows compatabilityludwig2006-02-187-31/+38
| | | | | | | | - change vmMain arguments back to int. 64bit types are apparently not needed there. Only the syscall function needs them. git-svn-id: svn://svn.icculus.org/quake3/trunk@550 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to a memory leak in CM_ValidateFacettma2006-01-272-1/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@529 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Persistent console historytma2006-01-244-5/+48
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@522 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Only check the checksum on baseq3 pak0.pk3tma2006-01-221-1/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@515 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Overhaul of console autocompletiontma2006-01-226-71/+324
| | | | | | | | | | - No longer does weird stuff like move the cursor inappropriately - Autocomplete works with compound commands - Special autocomplete on some commands e.g. \map, \demo - Removed various hacks used to counter the original autocomplete code git-svn-id: svn://svn.icculus.org/quake3/trunk@514 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix a bug with command/cvar autocompletiontma2006-01-211-1/+6
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@512 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Added Q_isnan for NaN tests with -ffast-mathtma2006-01-192-0/+21
| | | | | | | * Fixed UT/OpenAL work around git-svn-id: svn://svn.icculus.org/quake3/trunk@510 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Yet another MD4 implementationtma2006-01-183-197/+186
| | | | | | | | * Removed Com_BlockChecksumkey and replaced its functionality in the calling function git-svn-id: svn://svn.icculus.org/quake3/trunk@504 edf5b092-35ff-0310-97b2-ce42778d08ea
* * GPL MD4 implementationtma2006-01-182-250/+196
| | | | | | | | * Removed obsolete compilation instructions from the id readme * Removed MD4 license from the id readme git-svn-id: svn://svn.icculus.org/quake3/trunk@499 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to a stupid bug I introduced whilst trying to be clevertma2006-01-151-2/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@485 edf5b092-35ff-0310-97b2-ce42778d08ea
* * x86 OS X supporttma2006-01-151-8/+8
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@484 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Patch from https://bugzilla.icculus.org/show_bug.cgi?id=2540tma2006-01-131-1/+12
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@471 edf5b092-35ff-0310-97b2-ce42778d08ea
* make memory for generated opcodes executable so the program works withludwig2006-01-061-3/+2
| | | | | | | enabled NX feature. git-svn-id: svn://svn.icculus.org/quake3/trunk@466 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to the gcc4/-O0 x86 JIT compiler bugtma2006-01-061-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@463 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Up the defaults for zone and hunk memory since some mods (UT) have largetma2006-01-051-13/+16
| | | | | | | | memory requirements that will have increased versus 1.32b due to some of the alignment fixes git-svn-id: svn://svn.icculus.org/quake3/trunk@461 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Remove FS_SetRestrictionstma2006-01-051-60/+36
| | | | | | | * Add FS_CheckPak0 for better error messages where dumb users are involved git-svn-id: svn://svn.icculus.org/quake3/trunk@459 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix the MinGW and (hopefully) OS X buildstma2006-01-043-320/+0
| | | | | | | * Remove custom memcpy/memset code git-svn-id: svn://svn.icculus.org/quake3/trunk@456 edf5b092-35ff-0310-97b2-ce42778d08ea
* * AVI video outputtma2006-01-042-2/+15
| | | | | | | | | | | - Uses motion jpeg codec by default - Use cl_avidemo to set a framerate - \video [filename] to start capture - \stopvideo to stop capture - Audio capture is a bit ropey git-svn-id: svn://svn.icculus.org/quake3/trunk@454 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix typo in commentludwig2005-12-301-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@453 edf5b092-35ff-0310-97b2-ce42778d08ea
* * NetBSD support patch from optical (alex@rigbo.se)tma2005-12-271-0/+26
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@448 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Replaced ALIGN macro with PADtma2005-12-052-3/+9
| | | | | | | * Moved ALIGN16 macro from tr_local.h to ALIGN in q_shared.h git-svn-id: svn://svn.icculus.org/quake3/trunk@417 edf5b092-35ff-0310-97b2-ce42778d08ea
* Look for correct filename extension when loading native DLLs.icculus2005-12-051-0/+16
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@416 edf5b092-35ff-0310-97b2-ce42778d08ea
* Better altivec cvar handling. Should fix crashes at startup, or curious icculus2005-12-042-2/+30
| | | | | | | people that toggle it on at runtime on a G3. git-svn-id: svn://svn.icculus.org/quake3/trunk@410 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Ditch Mac OS 9 supporttma2005-12-011-18/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@404 edf5b092-35ff-0310-97b2-ce42778d08ea
* Make sure Q3_BIG_ENDIAN and Q3_LITTLE_ENDIAN are defined correctly foricculus2005-11-291-3/+8
| | | | | | | | PowerPC/x86 Mac OS X. Fixes Bugzilla #2510. git-svn-id: svn://svn.icculus.org/quake3/trunk@388 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Disable ccache by default. If you want it, add USE_CCACHE=1 to Makefile.localtma2005-11-262-7/+9
| | | | | | | | | * Remove -gfull from linux section in Makefile -- it's darwin only * Cast away some warnings that surfaced from using "new" AL headers * Various whitespace and consistency fixes git-svn-id: svn://svn.icculus.org/quake3/trunk@375 edf5b092-35ff-0310-97b2-ce42778d08ea
* Mac OS X work...lots of little changes that touch a lot of random places.icculus2005-11-263-2/+15
| | | | | | | | | | | | | | | Still work to be done, but this at least matches the PowerPC Linux status now. MacOS-specific directory (and XCode project) is gone...this now uses SDL, OpenAL, and the Unix Makefiles. --ryan. git-svn-id: svn://svn.icculus.org/quake3/trunk@373 edf5b092-35ff-0310-97b2-ce42778d08ea