Libnsbmp 0.1.2 Heap Overflow / Out-Of-Bounds Read

Libnsbmp version 0.1.2 suffers from heap overflow and out-of-bounds read vulnerabilities.