richox / libzling

fast and niubility compression library.
88 stars 20 forks source link

Don't access memory outside the supplied buffers when decoding #7

Closed nemequ closed 8 years ago

nemequ commented 9 years ago

The old code would overshoot the supplied buffer by as much as 3 bytes, which could cause crashes in some situations.

https://github.com/richox/libzling/issues/6