Page MenuHomeFeedback Tracker

numbers are not checked for Not a Number [CRASH]
Assigned, HighPublic

Description

player setPos [log -1, 0, 0] -> crash in Multiplayer!!

log -1 => NaN - Not a Number but it is SCALAR so it is allowed bu the command.

I dont know how easy it can be, but Number params have to be checked for isNaN as well.

Details

Legacy ID
1525754312
Severity
Major
Resolution
Open
Reproducibility
Always
Category
Engine
Steps To Reproduce

^^^^

Event Timeline

Killzone_Kid edited Additional Information. (Show Details)
Killzone_Kid set Category to Engine.
Killzone_Kid set Reproducibility to Always.
Killzone_Kid set Severity to Major.
Killzone_Kid set Resolution to Open.
Killzone_Kid set Legacy ID to 1525754312.May 7 2016, 7:34 PM
Killzone_Kid edited a custom field.

NaN should have separate type, then it will be

a. easy to check if the value is SCALAR in scripts and
b. will protect all script commands from breaking

SCALAR_NaN maybe?