]> git.tdb.fi Git - libs/datafile.git/commit
More resiliece against certain corner cases when direct loading
authorMikko Rasa <tdb@tdb.fi>
Sun, 19 Oct 2014 08:58:00 +0000 (11:58 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 19 Oct 2014 08:58:00 +0000 (11:58 +0300)
commitc18ba5448918a7418b3e01e1a1c5cf473efce592
treed9c3eac360a0fd3d0eb93d55a1c8a8765a15b334
parentc834c80972ce2415f7d5f35cc9f9498ac1f08f85
More resiliece against certain corner cases when direct loading

An empty binary file terminated with __end was causing problems as the
very first peek call would return null, causing Loader to fall back to
indirect loading.  However, the __end was already processed by peek, so
the parse call would fail.
source/loader.cpp
source/parser.cpp