kmdm / ruuveal

A HTC RUU decryption utility
GNU General Public License v3.0
57 stars 39 forks source link

Fix segfault due to unterminated string. #90

Closed peake closed 8 years ago

peake commented 8 years ago

Allocate an additional byte for our filename buffer to accommodate the terminating null. This fix remedies a segfault that can happen during decryption.

Signed-off-by: Cal Peake cp@absolutedigital.net