[Gtkradiant] [Bug 852] GtkRadiant 1.3.11 crashes on bsp

gtkradiant@zerowing.idsoftware.com gtkradiant@zerowing.idsoftware.com
Tue, 19 Aug 2003 15:00:07 -0500


http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=852





------- Additional Comments From ydnar@shaderlab.com  2003-08-19 15:00 -------
The BSP command;

C:\Program Files\GtkRadiant-1.3-ET\Q3Map2.exe -fs_basepath "C:\Program
Files\Activision\Wolfenstein - Enemy Territory" -meta -mv 1024 -mi 6144 -v
-connect 127.0.0.1:39000 "C:\Program Files\Activision\Wolfenstein - Enemy
Territory\etmain\maps\goldrush.map" 

Is 255 characters.

PATH_MAX is 260 characters (vfs.h et. al).

In main.cpp, it's cramming BSP commands into a char array of size PATH_MAX:

https://zerowing.idsoftware.com:666/radiant/GtkRadiant/trunk/radiant/main.cpp