SRB2 Message Board  

Go Back   SRB2 Message Board > Archived > SRB2 Forum Archives > Bug Reports (2.1.X)

 
 
Thread Tools Search this Thread
Old 07-04-2018   #1
ThatAwesomeGuy173
 
ThatAwesomeGuy173's Avatar
Default Using Lua scripts and joining unmodded servers force a server crash

The steps to reproduce this exploit are not included in this post for security reasons as it can crash any unmodified server, but details can be sent in private if requested.

Crashing the game with this method under a debug build with gdb attached gives out the following details:

Code:
Program recieved signal SIGSEGV, Segmentation fault.
lua_settop (L=0x0, idx=0) at blua/lapi.c:168
168    blua/lapi.c: No such file or directory.
This issue was tested and can be reproduced on both Windows and Linux builds.

Also worth noting that this exploit doesn't work if any one of these conditions are met:
The game is modified. The server instead kicks the ScriptPlayer out for illegal Lua usage.
The server uses an SRB2 build compiled without Lua. The ScriptPlayer's game crashes instead, with an "unfortunate Lua processing error occurred in the exe itself" message.

Let me know if I need to include anything else.

Last edited by Monster Iestyn; 07-11-2018 at 09:30 PM. Reason: Wording, again
ThatAwesomeGuy173 is offline  
Old 07-04-2018   #2
Monster Iestyn
Friendly Neighbour-Hood
Moderator
 
Monster Iestyn's Avatar
Default

I have a potential fix for this as we speak, just so everyone knows. Just needs testing to confirm it works.
__________________
My page stuffed full of MIDI goodness!
The Hitchhiker's Guide to the Robo-Hoodiverse
Timeline of Sonic Robo Blast History!

That's an uppercase i, not a lowercase L, for the record. Also, it's pronounced "Yes-tin".
Monster Iestyn is offline  
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:40 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.