Raised This Month: $51 Target: $400
 12% 

set/get_pcvar_* error/crash


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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 -4. The time now is 17:04.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode