Files
Johannes Weiss 2c3ef591bc security: ByteBuffer: fix heap buffer overflow on slice realloc
Motivation:

ByteBuffer had a very bad (exploitable!) security vulnerability if the
following conditions are all true:

- user writes to a ByteBuffer which is a slice (slice.lowerBound != 0)
- the slice is uniquely referenced (ie. the buffer that it was sliced
  from is gone)
- the write triggers a re-allocation

Then the slice is actually _larger_ than the overall available capacity
so another write to said ByteBuffer could end up out of bounds.

Modifications:

- fixed slice reallocation

Result:

- fixed security vulnerability
2018-06-27 17:26:01 +01:00
..
2018-02-26 15:52:49 +00:00
2018-02-08 13:12:30 +00:00
2018-02-16 14:53:19 +01:00
2018-02-20 15:51:35 +00:00
2018-02-15 14:50:51 +01:00