Replace assert
statements in Marshall.hpp with run-time error handling
#16
Labels
assert
statements in Marshall.hpp with run-time error handling
#16
The
assert
statements were discovered due to a warning, reported in #13. The warnings were addressed in #15.The apparent purpose of the
assert
s is to ensure that aNewByteArray
can be created that is large enough to handle the data to be marshaled. There is no run-time error handling other than theassert
statement, so if those are optimized away, there is no safety at all.The text was updated successfully, but these errors were encountered: