mirror of
https://github.com/opnsense/src.git
synced 2026-02-11 14:55:36 -05:00
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)
3 lines
62 B
C
3 lines
62 B
C
/* $FreeBSD$ */
|
|
|
|
int decode(FILE *fd, char *buffer, int len);
|