You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should not happen especially if caller code is primed to invoke this method based on the length--we can argue if the client code is not being smart about this case but the routine terminating the process for this case is definitely not correct.
The text was updated successfully, but these errors were encountered:
* [ion-c-sys] Short circuits empty case `IonCReader.read_bytes()`.
amazon-ion/ion-c#233 triggers an assertion failure when reading an empty LOB,
so we avoid this case explicitly.
* Adds more commentary on why this change is neede inline.
Attempting to read a
clob
orblob
with a zero byte buffer fails with assertion:This should not happen especially if caller code is primed to invoke this method based on the length--we can argue if the client code is not being smart about this case but the routine terminating the process for this case is definitely not correct.
The text was updated successfully, but these errors were encountered: