Commit Graph

557 Commits

Author SHA1 Message Date
Stas Degteff
fce08eec1e Fix buffer overflow in helpfile processing. Bugreport from Anton Gorlov 2:5059/37 2011-05-24 21:22:16 +00:00
Stas Degteff
2700dbfbc2 Fix menu marker in unix-like 2011-03-15 08:27:39 +00:00
Stas Degteff
df680ee6c9 Use macro instead character constant 2011-03-15 08:26:40 +00:00
Stas Degteff
d114b36c12 Use dynamic array instead static sring 2011-03-15 07:32:45 +00:00
Stas Degteff
39bccb92ba Several dictionnaries may be defined for Spell checking feature. Patch from Semen Panevin 2:5025/121 2011-03-14 02:56:12 +00:00
Stas Degteff
b43e08a516 fix MS VS 6 build 2011-02-23 08:03:39 +00:00
Stas Degteff
ed7246e101 Prevent buffer overflow (use std::string instead arrays with fixed length) 2011-02-23 01:57:45 +00:00
Stas Degteff
868e4dadf5 Fix and check bufer overflow in GPickArealist::do_delayed() 2011-02-22 23:51:03 +00:00
Stas Degteff
ce9dabb83f Fix buffer overfow with zeroing stack 2011-02-22 20:25:14 +00:00
Stas Degteff
a698156d4d Check parameters of ShellToDos() and Unpack(). Bugreport from Semen Panevin 2:5025/121 2011-02-22 16:18:21 +00:00
Stas Degteff
3ec43ed652 Check parameters of ShellToDos() and Unpack(). Bugreport from Semen Panevin 2:5025/121 2011-02-22 15:44:34 +00:00
Stas Degteff
841f70e850 Small simplify 2011-02-22 14:51:06 +00:00
Stas Degteff
a1ba13fa7c Remove excessive log warning 2011-02-22 14:23:12 +00:00
Stas Degteff
aedd9c96d5 Fix one of previous patches: restore platform detection. Patch from Max Vasilyev 2:5057/77 2011-02-22 13:45:52 +00:00
Stas Degteff
29402a0cd0 Check parameters of update_statusline() 2011-02-22 13:20:17 +00:00
Stas Degteff
848b7129c2 Write message into log and statusline if parameter of update_statuslinef() is invalid 2011-02-22 12:55:06 +00:00
Stas Degteff
bc014f0485 Check parameters of update_statuslinef() 2011-02-22 12:48:13 +00:00
Stas Degteff
177bd5183a Fix soup & WQK operations on start 2011-02-22 11:27:21 +00:00
Stas Degteff
e59f2fc9f4 Change log messages about buffer overflow 2011-02-22 00:10:37 +00:00
Stas Degteff
343e008874 Comment: "FIXME: Strange, status line displayed always in first call. May be need to change?" 2011-02-21 15:02:03 +00:00
Stas Degteff
bf13c6929a Fix: Dont try to print NULL string (check result of strftimei()) 2011-02-21 13:06:29 +00:00
Stas Degteff
8211dab4a0 Fix ST_EDITSTATUS checking regexp 2011-02-19 22:16:02 +00:00
Stas Degteff
d8f5f56728 Fix windows build using MS VS: use gsprintf() instead snprintf() 2011-02-19 18:31:43 +00:00
Stas Degteff
81c1d6e91e Another fix bufer overflow in wide screen: status line don't cuting but shorten 2011-02-19 02:10:10 +00:00
Stas Degteff
1e71076fd4 Fix secondary freeing memory block 2011-02-19 02:08:13 +00:00
Stas Degteff
54dabe3345 Fix buffer overflow on wide terminal (width >=200 characters). Bugreport from Anton Gorlov 2:5059/37 2011-02-19 01:12:12 +00:00
Stas Degteff
3a22e17caf New macros in Makefile: LIBCURSES (for specify libcurses name and location), WIDE_NCURSES (for select wide-characters version of libcurses) 2011-02-18 22:16:25 +00:00
Stas Degteff
c3eaefb7aa Move all curses-related code into gcui library. Very big thank to Semen Panevin 2:5025/121 2011-02-18 21:47:20 +00:00
Stas Degteff
d9fc014ca2 Initialise value (forget by author) 2011-02-18 11:11:39 +00:00
Stas Degteff
b4ed4dc416 Use version of strschg_environ() with control bufer overflow 2011-02-17 23:22:23 +00:00
Stas Degteff
14dd2361a4 Prevent use NULL-pointer. display message and exit 2011-02-14 19:57:01 +00:00
Stas Degteff
f24985ea2f Preprocesor macro for write to log message about null-pointer in parameter. 2011-02-14 19:14:01 +00:00
Stas Degteff
bfece6f521 Prevent use null-pointer. Exit on error if parameter is NULL 2011-02-14 19:12:26 +00:00
Stas Degteff
2202849fb2 Check config file name length, report of too long 2011-02-13 23:52:22 +00:00
Stas Degteff
87bd198131 new preprocessor macro __GVER_SNAPSHOT__. Use srcdate.h for display revision date 2011-02-13 20:43:17 +00:00
Stas Degteff
b1693b62c7 Prevent buffer overflow in charset names. Bugreport from Semen Panevin 2:5025/121 2011-02-12 22:02:48 +00:00
Stas Degteff
f842f826fb Error in parser @-macro is fixed: macro in end of line are ignored before this fix. Thanks Max Vasilyev 2:5057/77 2011-02-11 20:13:47 +00:00
Gremlin from Kremlin
7f41e765d2 libraries reordered according to patch from Pavel Gulchouck 2010-09-09 20:30:59 +00:00
Stas Degteff
7eb3182884 OS/2 build fix for GNU C 3.5, patch from Max Vasilyev 2:5057/77 2010-05-02 06:54:52 +00:00
Stas Degteff
7561fa3569 use macros instead inline constants 2010-03-28 17:22:40 +00:00
Stas Degteff
19fdb52aab Fix buffer overflow. Bugreport from Nick Voronin 2010-03-28 17:20:21 +00:00
Stas Degteff
9f7400b7aa Fix memory leak in URLs list. Bugreport from Ivan Novikov,2:5080/31 2010-03-26 22:44:36 +00:00
Stas Degteff
5cde6a3023 fix segfault if urlhandler is not defined in golded.cfg 2010-03-26 22:17:07 +00:00
Stas Degteff
e2c0c182de New token for goldlang.cfg: IL_PEEKINFONOHANDLER 2010-03-26 22:16:07 +00:00
Stas Degteff
9ed87aece7 Check parameters of function for NULL 2010-03-21 13:59:45 +00:00
Stas Degteff
69493f5724 keys changed: Ctrl-Backspace acts as Backspace, Ctrl-W deletes word left 2010-03-12 11:21:39 +00:00
Stas Degteff
0ce8534f9a If TEMPPATH pointed to unexisted, display message and doing nothing instead abort 2010-03-11 17:02:03 +00:00
Stas Degteff
71abfaf13b If TEMPPATH pointed to unexisted, display message and doing nothing instead abort 2010-03-11 16:04:08 +00:00
Stas Degteff
e734e7d80a New statement for goldlang.cfg: IL_TMPINVALIDPATH 2010-03-11 14:12:49 +00:00
Stas Degteff
23684c34a2 Fix message for illegal ST_EDITSTATUS 2010-03-05 20:41:21 +00:00