aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon/files.c
Commit message (Collapse)AuthorAgeFilesLines
* Go back to rev. 874. ATM, there is no good way to make FS_Restart() behave ↵thilo2006-08-281-5/+2
| | | | | | as it was originally described. git-svn-id: svn://svn.icculus.org/quake3/trunk@880 edf5b092-35ff-0310-97b2-ce42778d08ea
* More fixes for the FS_Shutdown change. Declare qconsole.log as closed before ↵thilo2006-08-281-0/+3
| | | | | | | | | FS_Shutdown closes all files. git-svn-id: svn://svn.icculus.org/quake3/trunk@879 edf5b092-35ff-0310-97b2-ce42778d08ea
* There are actually files that can have a length of 0 so this in-use-check ↵thilo2006-08-271-1/+1
| | | | | | was just wrong. git-svn-id: svn://svn.icculus.org/quake3/trunk@875 edf5b092-35ff-0310-97b2-ce42778d08ea
* bug 2723tjw2006-08-161-4/+0
| | | | | | | | | * replaced my cheap hack to search current working dir on OS X with a more complex hack that detects the .app bundle directory structure. This is so the game data dirs do not need to be inside of the .app bundle btw. git-svn-id: svn://svn.icculus.org/quake3/trunk@844 edf5b092-35ff-0310-97b2-ce42778d08ea
* bug 2723tjw2006-08-021-0/+4
| | | | | | | | | | | | | | * adds a shell script ./make-macosx-ub.sh that builds Mac OS X Universal Binary * fixes Mac OS X x86 VM crashes (-mstackrealign) * adds current working directory to the search path on Mac OS X to make working with .app bundles easier * various tweaks to make ioquake3 build against the 10.2 SDK * changed default OpenAL .dylib location to the path of the one included with the Framework bundled in 10.4 (for USE_OPENAL_DLOPEN) * updated to a Universal libSDL-1.2.0.dylib git-svn-id: svn://svn.icculus.org/quake3/trunk@830 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Fix arbitrary cvar overwrite flaw: http://aluigi.altervista.org/adv.htmthilo2006-07-031-1/+18
| | | | | | | - Add myself to maintainer list :) git-svn-id: svn://svn.icculus.org/quake3/trunk@811 edf5b092-35ff-0310-97b2-ce42778d08ea
* Little fix for the sanity check fix from previous rev...thilo2006-06-161-3/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@805 edf5b092-35ff-0310-97b2-ce42778d08ea
* - 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 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-061-1/+1
| | | | | | | | | 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
* Replaced various "baseq3" strings with the centrally defined BASEGAME macro.thilo2006-04-261-5/+5
| | | | 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
* 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
* 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
* * 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-221-0/+23
| | | | | | | | | | - 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
* * Yet another MD4 implementationtma2006-01-181-3/+4
| | | | | | | | * 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
* * 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
* * AVI video outputtma2006-01-041-1/+12
| | | | | | | | | | | - 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
* * Remove the debug text that nobody seemed to noticetma2005-11-191-1/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@367 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Bleh.. whitespacetma2005-11-161-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@364 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Partial implementation of FS_Seek for files in pk3stma2005-11-161-12/+32
| | | | | | | * A couple of RIFF decoder tweaks/fixes git-svn-id: svn://svn.icculus.org/quake3/trunk@363 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Added STATUStma2005-10-291-1/+1
| | | | | | | | | | | * Updated TODO * Moved ChangeLog to root * Updated ChangeLog * s/Foobar/Quake III Arena Source Code/ * Biggest patch EVAR. I wonder how many mail boxes this will fill... git-svn-id: svn://svn.icculus.org/quake3/trunk@196 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Moved various source files from their mod sdk locations to places moretma2005-10-261-1/+1
| | | | | | | | | appropriate for open source Q3 * This patch looks bigger than it really is, however it will probably break the VC and OS X builds (easy to fix though) git-svn-id: svn://svn.icculus.org/quake3/trunk@181 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Removed nonsensical "smells like demo data, continueing[sic] anyways" messagetma2005-09-261-1/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@119 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Applied ajax's cleanup patchtma2005-09-231-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@101 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to multiple buffer overflow bugs in CL_Rcon_ftma2005-09-191-2/+2
| | | | | | | | | | | * Fix to COM_ParseExt 1 byte overwrite bug * Fixed some missing calls to trap_FS_FCloseFile * Fixed q3msgboom and q3infoboom bugs * Fixed some qboolean type confusion * Above fixes from http://www.quakesrc.org/forums/viewtopic.php?t=5374 git-svn-id: svn://svn.icculus.org/quake3/trunk@95 edf5b092-35ff-0310-97b2-ce42778d08ea
* .six2005-09-041-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@80 edf5b092-35ff-0310-97b2-ce42778d08ea
* Changed inline to __inline.six2005-09-041-2/+2
| | | | | | | | Visual C does not accept the inline keyword, only __inline. Visual C does not recognize the #warning compiler directive git-svn-id: svn://svn.icculus.org/quake3/trunk@78 edf5b092-35ff-0310-97b2-ce42778d08ea
* Cleanups from pomac!zakk2005-09-021-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@67 edf5b092-35ff-0310-97b2-ce42778d08ea
* really don't add restrictions on demo dataludwig2005-08-301-2/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@29 edf5b092-35ff-0310-97b2-ce42778d08ea
* disable demo restrictionsludwig2005-08-301-0/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@28 edf5b092-35ff-0310-97b2-ce42778d08ea
* remove svn:executable propertyludwig2005-08-281-0/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@24 edf5b092-35ff-0310-97b2-ce42778d08ea
* Ludwig's 1st diff: Some 64bit fixes for x86_64. Also fixes Makefile build.zakk2005-08-271-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@7 edf5b092-35ff-0310-97b2-ce42778d08ea
* newlines fixedzakk2005-08-261-3419/+3419
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@6 edf5b092-35ff-0310-97b2-ce42778d08ea
* Itsa me, quake3io!zakk2005-08-261-0/+3419
git-svn-id: svn://svn.icculus.org/quake3/trunk@2 edf5b092-35ff-0310-97b2-ce42778d08ea