[CS] A quick buy of vest followed by vesthelm leads to buffer overflow
bolokanar opened this issue · comments
A quick buy of vest followed by vesthelm leads to a buffer overflow.
Easiest steps to reproduce:
Start a New game
Buy via console vest; vesthelm
Core dump if of any use: http://masteros.bulgars.org/crash_20231210195605_13.dmp
A workaround for now is to bind in reverse: bind key "vesthelm; vest"
Error:/home/$USER/.local/share/Steam/steamapps/common/Half-Life/.so: cannot open shared object file: No such file or directory
DemoPlayer::Init: couldn't get engine interface.
ERROR! System::AddModule: couldn't initialize module (null).
Can't "cmd", not connected
Unknown command from unsafe location. Ignoring.
STEAM Auth Server
Playing Startup Videos...
AppActive: active
AppActive: active
Usage:
Setmaster unavailable, start a server first.
WARNING: UDP_OpenSocket: port: 27015 bind: Address already in use
NET Ports: server 27015, client 27005
couldn't exec maps/ka_stadium_load.cfg
[S_API] SteamAPI_Init(): Loaded '/home/$USER/.local/share/Steam/linux32/steamclient.so' OK.
CAppInfoCacheReadFromDiskThread took 7 milliseconds to initialize
dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory
SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561197960265728 [API loaded yes]
SteamInternal_SetMinidumpSteamID: Setting Steam ID: 76561197960265728
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561197960265728 [API loaded yes]
SteamInternal_SetMinidumpSteamID: Setting Steam ID: 76561197960265728
FakeIP enabled! Requesting a fake IP.
[SteamNetworkingSockets] SDR network config fetch first attempt failed. HTTP 504. . Trying again.
Connection to Steam servers successful.
FakeIP allocation succeeded: 169.254.244.218:42104
Using FakeIP
Server IP address 169.254.244.218:42104
VAC secure mode is activated.
BUILD 9899 SERVER (0 CRC)
Server # 1
Glad!atoR'S !n Adr3NaL!n3 connected
Couldn't open file overviews/ka_stadium.txt. Using default values for overiew mode.
Couldn't open file overviews/ka_stadium.txt. Using default values for overiew mode.
Glad!atoR'S !n Adr3NaL!n3 is joining the Counter-Terrorist force
Scoring will not start until both teams have players
*** buffer overflow detected ***: terminated
ERROR: ld.so: object '/home/$USER/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
crash_20231210195605_13.dmp[5060]: Uploading dump (out-of-process)
/tmp/dumps/crash_20231210195605_13.dmp
/home/$USER/.local/share/Steam/steamapps/common/Half-Life/hl.sh: line 83: 4994 Aborted ${DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
crash_20231210195605_13.dmp[5060]: Finished uploading minidump (out-of-process): success = yes
crash_20231210195605_13.dmp[5060]: response: Discarded=1
crash_20231210195605_13.dmp[5060]: file ''/tmp/dumps/crash_20231210195605_13.dmp'', upload yes: ''Discarded=1''
pid 5060 != 5059, skipping destruction (fork without exec?)
Hello @bolokanar, this issue is already being tracked at #3672. Since this issue report adds a bit more detail, I've gone ahead and transferred this issue report to #3672 (comment).
Closing in favor of the older issue report.