mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-12 23:08:03 +03: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.
AMX Mod X
AMX Mod X - Half-Life 1 Scripting and Server Administration
General
- AMXX website
- Forum: Discussion forum including plugin/extension development
- General documentation: Miscellaneous information about AMXX
- Latest release: The latest stable AMXX release
- Build snapshots: Builds of recent development versions
Development
- Issue tracker: Issues that require back and forth communication
- Building AMXX: Instructions on how to build AMXX itself using AMBuild
- AMXX scripting: Pawn examples and introduction to the language
Description
Languages
C
37.4%
C++
24%
Pascal
18.4%
HTML
5.7%
Roff
4.8%
Other
9.7%