View Single Post
Author Message
E1_531G
Senior Member
Join Date: Dec 2017
Old 09-17-2018 , 16:56   set/get_pcvar_* error/crash
Reply With Quote #1

Hello.

I just found an error.

Code
PHP Code:
new pointer 432
if( get_pcvar_num(pointer) )
  ... 
will result in an instant crash of the server.

Windows, 1.8.2 latest. (it seems that there is no difference with 1.8.3 and 1.9)

I know that there is no way to see this situation in a real use (because of get_cvar_pointer() and register_cvar()/create_cvar()), but it will be better if the server does not crash and simply throws an error.

Thank.
__________________
My English is A0
E1_531G is offline