%s in SendClientMessage
#14

Quote:
Originally Posted by Kwarde
Посмотреть сообщение
@leong124:
Still, this does not fix the bug the topic creator reported. And does this work? Because it's still being sent with a client message. (Or I should ask, did you test this? I'm curious right now. Otherwise I'll check this out when I'm back home (I'm at school right now)).
I'm not fixing the bug/problem, but I just want to show you how can this bug occurs in actual situations. The code allows players to type % again by typing (#), but not converting to # by typing %. If someone type (#)s, it will be translated into %s and passed to SendClientMessage(ToAll) and crash the server. I just want to prove that it may not be scripters' fault to make %s appear in SendClientMessage(ToAll).

kaisersouse, is it possible for it to be used as a vulnerability to crash the server if my code is implemented? I've thoughts for adding such code some time ago, and now I am more concerned about the problem.
Reply


Messages In This Thread
%s in SendClientMessage - by Dan.. - 13.01.2013, 09:18
Re: %s in SendClientMessage - by Kwarde - 13.01.2013, 09:49
Re: %s in SendClientMessage - by CaHbKo - 13.01.2013, 10:24
Re: %s in SendClientMessage - by TheArcher - 13.01.2013, 13:06
Re: %s in SendClientMessage - by Dan.. - 13.01.2013, 13:41
Re: %s in SendClientMessage - by TheArcher - 13.01.2013, 14:11
Re: %s in SendClientMessage - by Skyrise - 16.01.2013, 02:34
Re: %s in SendClientMessage - by mastermax7777 - 16.01.2013, 05:03
Re: %s in SendClientMessage - by Neil. - 16.01.2013, 07:05
Re: %s in SendClientMessage - by RajatPawar - 16.01.2013, 07:11
Re: %s in SendClientMessage - by leong124 - 16.01.2013, 08:13
Re: %s in SendClientMessage - by Kwarde - 16.01.2013, 12:20
Re: %s in SendClientMessage - by kaisersouse - 16.01.2013, 12:43
Re: %s in SendClientMessage - by leong124 - 16.01.2013, 13:59
Re: %s in SendClientMessage - by liquor - 22.01.2013, 20:12
Re: %s in SendClientMessage - by RootKiller - 22.01.2013, 21:02
Re: %s in SendClientMessage - by Basssiiie - 22.01.2013, 22:03
Re: %s in SendClientMessage - by TheArcher - 22.01.2013, 22:29
Re: %s in SendClientMessage - by leong124 - 23.01.2013, 06:54
Re: %s in SendClientMessage - by Basssiiie - 23.01.2013, 21:40
Re: %s in SendClientMessage - by Dan.. - 24.01.2013, 14:25
Re: %s in SendClientMessage - by leong124 - 24.01.2013, 15:10

Forum Jump:


Users browsing this thread: 4 Guest(s)