raysan5 / rres

A simple and easy-to-use file-format to package resources
MIT License
391 stars 34 forks source link

Fix Heap Buffer Overflow During Chunk Loading #20

Closed BeardedBread closed 1 year ago

BeardedBread commented 1 year ago

This is due to incorrect size when copying over raw data. Compute the correct raw size before copying.

Issue reference: #17

raysan5 commented 1 year ago

@BeardedBread thank you very much for the review!