check for garbage in dump.

Signed-off-by: Zakamurite <ElSolDolLo@gmail.com>