If its a choice of:
a) when callback to set value is used, we set the value and then mark a
flag that the object has been modified, and when function is finished,
we check sanity of object,
or
b) when callback to set value is made, we check the validity
I'd personally choose b -
Nicolas Weeger wrote:
Hello.
Currently, a plugin can easily crash the server, which doesn't check
parameters (just call a function with a NULL pointer, nice crash
guaranteed). Also, server doesn't checks parameters and such, which can
lead to invalid values (Str of 50 for a player...).
So
Hello.
Currently, a plugin can easily crash the server, which doesn't check
parameters (just call a function with a NULL pointer, nice crash
guaranteed). Also, server doesn't checks parameters and such, which can
lead to invalid values (Str of 50 for a player...).
So should that be fixed in a
3 matches
Mail list logo