0ad/source
wraitii 0e7fafebe1 Refuse to serialize NaN values.
NaN values could not be serialised safely because of the multiple
possible NaN numbers.
Since NaN values are usually the result of bugs or dangerous code, it
seems simpler to refuse to serialise them.

(D3205 was a safe-serialization alternative, should the need arise).

Fixes #1879

Differential Revision: https://code.wildfiregames.com/D3729
This was SVN commit r25151.
2021-03-28 16:48:25 +00:00
..
collada Refactors smart pointers creation, reduces code duplication and improves exception safety. 2021-02-13 23:53:40 +00:00
graphics Make real directory paths on the VFS predictable (retry) 2021-03-23 12:46:59 +00:00
gui Moves CSize into a separate file and renames it to CSize2D according to other geometric entities. 2021-03-27 16:08:06 +00:00
i18n Moves CreateDateTimeInstance from the public L10n header to its implementation. 2021-03-12 09:11:22 +00:00
lib Fix issues in 87a2c3347f 2021-03-28 07:01:34 +00:00
lobby Fix typos in log and warn messages 2021-03-10 16:50:15 +00:00
maths Removes unused code from Size2D and changes eol-style to native. 2021-03-27 21:11:36 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network Make real directory paths on the VFS predictable (retry) 2021-03-23 12:46:59 +00:00
pch Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
ps Fix issues in 87a2c3347f 2021-03-28 07:01:34 +00:00
renderer Cleanups ShadowMap, fixes possibly wrong depth format name for GLES. 2021-03-25 12:09:56 +00:00
rlinterface Increase MP Command delay to 4 turns, decrease MP turns to 200ms. 2021-03-03 21:02:57 +00:00
scriptinterface Make real directory paths on the VFS predictable (retry) 2021-03-23 12:46:59 +00:00
simulation2 Refuse to serialize NaN values. 2021-03-28 16:48:25 +00:00
soundmanager Fix compilation with --without-audio 2021-03-04 17:36:24 +00:00
third_party Optimization for include resolving in PreprocessorWrapper. 2021-01-20 23:05:15 +00:00
tools Make WxWidgets High-DPI aware / Upgrade WXWidgets to 3.1.4 on MacOS 2021-03-23 15:47:29 +00:00
main.cpp Make real directory paths on the VFS predictable (retry) 2021-03-23 12:46:59 +00:00
test_setup.cpp Introduce C++ templates replacements for DEFINE_INTERFACE_X and RegisterFunction macros 2021-03-01 20:52:24 +00:00