Allow user to omit font size specification when loading a font. In addition the following fixes had been made:
- check the size of the font being loaded and compare it with possible sizes to minimise possibility of loading something that is not a fontfile at all and turning console screen into garbage;
- prevent buffer overflow (and coredump as a result ) when loading valid uuencoded file with size that exceeds allocated buffer;
- correct and improve several error messages.
Approved by: -audit, -hackers (silently)
|