Raised This Month: $32 Target: $400
 8% 

EngFunc_LightStyle


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
JusTGo
Veteran Member
Join Date: Mar 2013
Old 07-27-2018 , 06:13   EngFunc_LightStyle
Reply With Quote #1

There is a buffer issue in engfunc(EngFunc_LightStyle, 0, "z"); same as the old one from set_lights()
__________________
JusTGo is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-28-2018 , 03:21   Re: EngFunc_LightStyle
Reply With Quote #2

I'm not sure to see EngFunc_LightStyle having buffer issues. How do you reproduce? Please provide a simple test plugin.
__________________
Arkshine is offline
JusTGo
Veteran Member
Join Date: Mar 2013
Old 07-28-2018 , 03:44   Re: EngFunc_LightStyle
Reply With Quote #3

from the other thread :

Quote:
Originally Posted by PRoSToTeM@ View Post
It is detectable with this code:
Code:
public client_putinserver() {     set_lights("z");     strlen("a"); }
But only for a moment.

EngFunc_LightStyle is also bugged, example code:
Code:
public plugin_init() {     engfunc(EngFunc_LightStyle, 0, "z"); } public client_putinserver() {     strlen("a"); }
__________________
JusTGo is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-28-2018 , 04:36   Re: EngFunc_LightStyle
Reply With Quote #4

You're right, totally forgot about this.
https://github.com/alliedmodders/amxmodx/pull/508
__________________
Arkshine is offline
Reply


Thread Tools
Display Modes

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 03:58.


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