27 Commits

Author SHA1 Message Date
WPMGPRoSToTeMa
48d7a04c73 SELinux compatibility: memalign -> mmap 2016-01-03 21:38:31 +03:00
Arkshine
138b9e1510 Remove UTIL_Format() and UTIL_VarArgs() 2015-10-05 19:12:08 +02:00
Vincent Herbet
b63e63cfcd Fix crash when dynamic native is executed with the max number of params
This fixes a buffer overflow with `g_Params`, which has a size of 16 but params index starts to 1. As consequence when 16 params are passed, `g_Params[16]` is indexed and likely overwrites something important which leads to a crash at some point.

It doesn't happen in 1.8.2. Possible reasons why it happens in dev version is this uses newer compiler and compiling optimization are better , resulting crash is triggered now. 

Reported here https://forums.alliedmods.net/showthread.php?t=271103.
2015-09-05 17:49:37 +02:00
Arkshine
c775cfca73 More AMTL conversion - 🔥 CString and CVector 2015-07-13 23:37:20 +02:00
Arkshine
69c46aff80 Replace all snprintf with UTIL_Format. 2014-08-07 01:42:58 +02:00
Scott Ehlert
1bb54f839e Update license headers for AMXX core. 2014-08-04 13:18:19 -05:00
Scott Ehlert
40c1fee55a Added support for Mac OS X and building with clang (bug 5601, r=dvander). 2013-02-13 01:14:37 -06:00
David Anderson
435766b2ef reverted a bad change in fakenatives 2007-08-04 14:18:56 +00:00
David Anderson
750247e8a6 fixed a bug that broke creative natives from the last change 2007-08-04 14:17:19 +00:00
David Anderson
de530e2ca3 fixed amb200, added native test suite 2007-04-16 17:08:15 +00:00
David Anderson
38e7b9ff58 unbroke the build 2006-09-08 14:46:34 +00:00
David Anderson
388711e969 Synced bcompat tree additions and fixes found so far 2006-08-28 11:08:18 +00:00
David Anderson
37151d361f added layout for "plugin cache"
dynamic natives that are paused now pause parent plugin with an error
added catch for a potentially serious bug?
2006-05-07 21:16:00 +00:00
David Anderson
dad00a2eb6 Initial import of replacement Library system - Backwards compat tested!
Updated new SDK (bumped vers number, kept backwards compat)
Improved module path resolving
2006-05-07 09:56:06 +00:00
David Anderson
33da5f3737 quick patch for dynamic native issues 2006-02-07 14:23:09 +00:00
David Anderson
04c54128af fixed case 2006-01-27 09:07:37 +00:00
David Anderson
66c278c64b wrong handle, oops 2006-01-06 21:05:48 +00:00
David Anderson
3d00b8c545 Merged changes from SH:List
Fixed bug where natives did not use the debugger (experimental)
Removed array size detection :(
2006-01-06 14:37:58 +00:00
David Anderson
10a64737b5 Added optimizations to the task system
Added optimizations to the forward system
Fixed some debugger errors
2005-10-25 20:38:00 +00:00
David Anderson
ad634924fa Fixed two bugs from at18519 (Lord of Destruction) 2005-09-05 21:43:05 +00:00
David Anderson
2d2506f1c4 Added memalign include 2005-08-18 01:04:52 +00:00
David Anderson
03b6d3e77d Fixed alloc/dealloc mismatches 2005-08-18 00:29:43 +00:00
David Anderson
b2ade117ec Added bug fix at17218 (Freecode) 2005-08-17 16:12:45 +00:00
David Anderson
d3acbcc319 (c) 2005-08-01 10:24:20 +00:00
David Anderson
0086b58f39 Completed AMD64 compatibility 2005-08-01 02:23:42 +00:00
David Anderson
13ed6ed2d6 Touching up new system for linux support 2005-07-31 22:16:54 +00:00
David Anderson
abfca025d5 Committed new register_native system 2005-07-31 20:11:58 +00:00