Commit Graph

1343 Commits

Author SHA1 Message Date
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
dd05817489 Documented last patches 2011-02-22 12:42:37 +00:00
Stas Degteff
84640ac97a Don't call close() for not associated file handle 2011-02-22 11:37:07 +00:00
Stas Degteff
177bd5183a Fix soup & WQK operations on start 2011-02-22 11:27:21 +00:00
Stas Degteff
acd96d47bc More accuracy checking result of MS VC _CRT _vsnprintf() 2011-02-22 09:38:30 +00:00
Stas Degteff
91e68866fc Check parameters for NULL and empty string. Workaround for MS VC _CRT exeptions 2011-02-22 09:36:32 +00:00
Stas Degteff
b00d33ed03 Fix build files for MS Visual C++ 2011-02-22 08:08:14 +00:00
Stas Degteff
cb9a56766d Fix MS VC build 2011-02-22 07:45:45 +00:00
Stas Degteff
b5027d74e0 Declare prototiyes of snprintf() and vsnprintf() for Ms Visual C 2011-02-22 07:24:19 +00:00
Stas Degteff
25f0b9c4bc Try to fix buffer overflow detection for Microsoft implementation of vsnprintf() 2011-02-22 00:49:01 +00:00
Stas Degteff
e59f2fc9f4 Change log messages about buffer overflow 2011-02-22 00:10:37 +00:00
Stas Degteff
7320f46dbe update reldate to 20110222 2011-02-22 00:08:23 +00:00
Stas Degteff
da0ca5e01e update sources date constant to 20110222 2011-02-22 00:08:22 +00:00
Stas Degteff
bed4391df4 New variant of gerrinfo() - output to log arbitrary message with file-line information 2011-02-22 00:08:17 +00:00
Stas Degteff
4ae22df357 fix: insert required va_end() call 2011-02-21 22:09:01 +00:00
Stas Degteff
6c0ee5823a Fix log messages 2011-02-21 22:01:54 +00:00
Stas Degteff
68c5b9a098 fix perv 2011-02-21 19:06:50 +00:00
Stas Degteff
6f305a0c7d Update notes about work 2011-02-21 17:09:40 +00:00
Stas Degteff
75a1a1f565 Rename Microsoft Visual Studio 6 makefile from golded.mak to gedwin.mak 2011-02-21 15:33:04 +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
dc33e90de0 Add comment about strftimei() 2011-02-21 13:09:11 +00:00
Stas Degteff
f7f092da62 Prevent potencial bug: use memmove() instead strcpy() for overlap source and destination 2011-02-21 13:08:04 +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
56894ccd39 Fix MS Visual Studio build 2011-02-21 01:00:20 +00:00
Stas Degteff
fab3943cf4 update reldate to 20110221 2011-02-21 00:53:51 +00:00
Stas Degteff
e17b17fe39 update sources date constant to 20110221 2011-02-21 00:53:50 +00:00
Stas Degteff
25fe21e8aa Fix makefile for MS Visual Studio 2011-02-21 00:53:45 +00:00
Stas Degteff
cccfeb5b1e update comment 2011-02-20 22:21:41 +00:00
Stas Degteff
6e221f4c52 workaround for implementation "speciality" in snprintf() and vsnprintf() from Microsoft 2011-02-20 21:30:47 +00:00
Stas Degteff
00d2ebd8c6 Fix gsprintf() logic 2011-02-20 20:41:48 +00:00
Stas Degteff
5e98926932 New preprocessor macroses for compiler verstion tests: __GNUC_LESS(maj,min), __GNUC_NOT_LESS(maj, min), __VISUAL_STUDIO_LESS(maj, min), __VISUAL_STUDIO_NOT_LESS(maj, min), __VISUAL_C_LESS(maj, min) and __VISUAL_C_NOT_LESS(maj, min) 2011-02-20 16:19:32 +00:00
Stas Degteff
a1c4eeeeb1 update reldate to 20110220 2011-02-20 00:08:10 +00:00
Stas Degteff
3a9a77e125 update sources date constant to 20110220 2011-02-20 00:08:09 +00:00
Stas Degteff
e09f554a2f Use common-use macro HAVE_VSNPRINTF and HAVE__VSNPRINTF instead G_HAS_VSNPRINTF 2011-02-20 00:08:06 +00:00
Stas Degteff
65d6e4d2e9 Add notework.rus into official binary archives 2011-02-19 22:36:34 +00:00
Stas Degteff
1cd0dad4d0 Fix ST_EDITSTATUS format in swedish language file 2011-02-19 22:17:42 +00:00
Stas Degteff
8211dab4a0 Fix ST_EDITSTATUS checking regexp 2011-02-19 22:16:02 +00:00
Stas Degteff
72293cb2b7 Update build files for Microsoft Visual Studio. Patch from Semen Panevin 2:5025/121 2011-02-19 21:06:40 +00:00
Stas Degteff
02a87e8e2e Fix MS VS 6.0 build, where string:clear() is not exist. Use one instanse of class string for all temporary strings 2011-02-19 20:14:58 +00:00
Stas Degteff
1f25fbac5f snprintf() and vsnprintf() for compilers without his 2011-02-19 18:46:06 +00:00
Stas Degteff
3e074d5127 Update master build file. 2011-02-19 18:45:27 +00:00
Stas Degteff
d8f5f56728 Fix windows build using MS VS: use gsprintf() instead snprintf() 2011-02-19 18:31:43 +00:00