Fix a crash (assert) when client set serial version < 24 in INIT command SER_FMT_VER_...
author(@U-Exp) <(@U-Exp)>
Sat, 24 Jan 2015 10:07:04 +0000 (11:07 +0100)
committerCraig Robbins <kde.psych@gmail.com>
Sat, 24 Jan 2015 12:41:02 +0000 (22:41 +1000)
commit800d19270250bb13cc6b2d330199815bf8e96446
treedf079c9b77a03bbbe60ada3d99b9c1226d8c51d4
parentf8bd1f356361190502e85636d382b8e895ff4d57
Fix a crash (assert) when client set serial version < 24 in INIT command SER_FMT_VER_LOWEST is set to zero, then the test is stupid in INIT because all client works. In mapblock we check if client's serialization version is < 24, but if client sent serialization version < 24 (15 for example) the server set it and tried to send nodes, then BOOM
src/mapblock.cpp
src/serialization.h