peace-maker
6ea1e39ee4
core/sm: Harden plugin loading path requirements ( #1437 )
...
* Harden plugin loading path requirements
Restrict loading of plugins to the `sourcemod/plugins` folder and require the `.smx` file extension.
Symlinks inside the `plugins` folder are fine.
This behavior was abused as part of justCTF 2020 in the PainterHell challenge by cypis. Thank you!
* Restrict extension loading to extensions folder
* Add NULL file extension check in LoadExtension
hi @KyleS
2021-03-07 14:33:33 -08:00
Deathreus
f9633a5f6f
Universalize a single call to srand() on map init ( #1422 )
2021-03-07 04:54:27 -08:00
peace-maker
510bd261f8
core: Add Insurgency support for amd64 Windows ( #1295 )
...
* Add basic Insurgency support on Windows x64
This allows SourceMod to load on x64 Insurgency. There are still a lot of variable truncation warnings that have to be dealt with.
* Fix 32bit builds
* Compile MySQL extension as well
The hack for __iob_func being removed from the core runtime, but required by the old mysql we're building against can be simplified a lot due to the `_ReturnAddress` intrinsic available since MSVC 2015.
* Don't include the offset we want to extract in the signature
2020-08-06 19:53:06 -07:00
Headline
832519ab64
Prevent multiple calls to SDK_OnAllLoaded ( #1293 )
2020-06-21 23:32:11 -07:00
David Anderson
7d7253c9cc
Update AMTL; replace AutoPtr/UniquePtr with STL.
2020-05-18 18:19:16 -07:00
nosoop
5293815bf6
Check other filename sources on remote extensions
2019-07-29 04:00:18 -07:00
Headline
28036966a6
Fix Miscellaneous Regressions and UBs ( #1022 )
2019-05-28 18:04:08 -07:00
Ruben Gonzalez
e2767a3c80
Remove goto from ExtensionSys.cpp ( #729 )
2018-05-25 09:49:10 -04:00
Michael Flaherty
5611ec54a2
Migrate extensions to common AMTL string funcs ( #785 )
2018-03-25 13:00:53 -07:00
Michael Flaherty
956f264b85
Replace ke::SafeSprintf with ke::SafeStrcpy ( #784 )
2018-03-19 20:12:51 +00:00
Ruben Gonzalez
5a35760215
Merge pull request #744 from alliedmodders/show-required-exts
...
Address issue #737
2017-12-31 11:06:35 -05:00
Ruben Gonzalez
40356fc9db
Address issue #737
2017-12-30 14:08:56 -05:00
Scott Ehlert
ce1a4dcac0
64-bit support for CSGO on Linux and macOS ( #705 )
2017-12-20 01:56:23 -06:00
Ruben Gonzalez
c87afde1bd
Add optional extensions not found to sm exts list in a seperate list.
2017-11-30 14:21:19 -05:00
Ruben Gonzalez
51cea0e04e
Only show extensions that failed to load if the extension is required.
2017-11-30 12:57:12 -05:00
Peace-Maker
060f63e9db
Fix printing dependent extension name
...
Typo which will print the name of the extension being unloaded instead
of the one which would be unloaded as well because of it.
2016-02-27 21:22:09 +01:00
Asher Baker
b81b6cd1c6
Fix crash on failing to load dependent extension.
2015-11-09 14:56:42 +00:00
David Anderson
4e275eea97
Split intercom.h into separate headers and reduce shared header inclusion.
2015-08-31 10:00:49 -07:00
David Anderson
3d5c9f0e21
Rename smcore to bridge, and use it as a pointer.
2015-08-30 23:27:53 -07:00
David Anderson
9d805ea9fb
Replace the AddRootConsoleCommand API to not expose internal structures.
2015-08-30 21:01:03 -07:00
David Anderson
9ba1363d86
Remove Format/FormatArgs from the core/logic bridge.
2015-08-30 18:03:31 -07:00
Nicholas Hastings
09250f89cc
Merge pull request #133 from alliedmodders/logger-logic
...
Move Logger and core natives from core to logic (r=dvander).
2014-08-20 06:43:31 -04:00
Nicholas Hastings
17d5af0e2f
Move Logger and Core natives to Logic
2014-08-13 14:24:35 -07:00
Ruben Gonzalez
7a88386568
Add OnCoreMapEnd to extension's interface.
2014-08-08 01:01:47 -04:00
David Anderson
96d6cf8def
Fix some memory errors (bug 5904, r=ds).
2013-10-29 18:58:34 -04:00
Peace-Maker
985b7831cf
Fix typo stopping plugins from reaching ext dep lists (bug 5851, r=fyren).
2013-09-30 12:26:45 -04:00
systematicmania
da650606e3
Fixed optional dependencies logging errors (again) (bug 5739, r=dvander).
...
Regression from changeset 4c93f74cae51 and changeset 7dae5b0b8e28 in bug 5860.
2013-08-24 00:12:21 -04:00
David Anderson
94d33a4ef1
Fix various problems with unloading ClientPrefs and SourceMod (bug 5874, r=ds).
...
--HG--
extra : rebase_source : 0a35f8380d651ca65fac9dd402c5cd3625e3105c
2013-08-22 14:05:44 -07:00
Nicholas Hastings
f3ac8f6649
Added gamedata and extension loading compat shims for Nuclear Dawn (bug 5813, r=asherkin).
2013-08-14 11:56:34 -04:00
Nicholas Hastings
a36c266e7d
Split TF2, DoD:S, HL2:DM, and ND to separate binaries (bug 5813, r=asherkin).
2013-07-21 11:53:56 -04:00
David Anderson
6cb67a19e7
Checkin missing chunks from bug 5680 (ref bug 5691).
2013-03-31 22:03:57 -07:00
David Anderson
9b5ca124ab
Don't allocate/delete across static CRTs (no bug, irc r=fyren+psychonic).
2013-03-31 13:30:22 -07:00
David Anderson
4a0a509dd8
Fix typo in ExtensionSys::LoadAutoExtension (no bug, r=me).
2013-03-31 09:50:46 -07:00
David Anderson
045ee262a8
Move scared guts of core into logic (bug 5680, r=fyren).
...
--HG--
rename : core/ExtensionSys.cpp => core/logic/ExtensionSys.cpp
rename : core/ExtensionSys.h => core/logic/ExtensionSys.h
rename : core/HandleSys.cpp => core/logic/HandleSys.cpp
rename : core/HandleSys.h => core/logic/HandleSys.h
rename : core/NativeInvoker.cpp => core/logic/NativeInvoker.cpp
rename : core/NativeInvoker.h => core/logic/NativeInvoker.h
rename : core/NativeOwner.cpp => core/logic/NativeOwner.cpp
rename : core/NativeOwner.h => core/logic/NativeOwner.h
rename : core/PluginSys.cpp => core/logic/PluginSys.cpp
rename : core/PluginSys.h => core/logic/PluginSys.h
rename : core/ShareSys.cpp => core/logic/ShareSys.cpp
rename : core/ShareSys.h => core/logic/ShareSys.h
rename : core/smn_fakenatives.cpp => core/logic/smn_fakenatives.cpp
rename : core/logic/AutoHandleRooter.h => public/AutoHandleRooter.h
2013-03-29 11:37:29 -07:00