Fix the Unmarshal possible overflow and also do not make the library
panic on Unmarshal errors.
We don't have a proper way to return those errors since they happen
in callbacks. For now, just printing. May add a callback error later.
Coverage decreased (-0.5%) to 92.848% when pulling a4f322d7abece175cc21815ab48d664fff67e1c6 on no_panic_on_unmarshal_error into 22aa6ac93378d21e2644a7fad6e6ec601134ecc6 on master.
Fix the Unmarshal possible overflow and also do not make the library panic on Unmarshal errors. We don't have a proper way to return those errors since they happen in callbacks. For now, just printing. May add a callback error later.
Signed-off-by: Ivan Kozlovic ivan@synadia.com