media/extensions/cronet/src
christosts bc69509aba CronetDataSource: fix overflow bug
There is a bug when CronetDataSource opens an asset with a length
bigger that Integer.MAX_INT  (2147483647 bytes, ~2GB). In read(),
`bytesRemaining` is cast to int, which overflows and evaluates to a
negative number, causing `bytesRead` to be negative too.

PiperOrigin-RevId: 370434368
2021-04-26 18:28:50 +01:00
..
androidTest Fix bug in CronetDataSource 2021-01-25 15:37:08 +00:00
main CronetDataSource: fix overflow bug 2021-04-26 18:28:50 +01:00
test Remove mocking executor in CronetDataSourceTest 2021-04-20 00:07:39 +01:00