Mercurial > mplayer.hg
view libass/mputils.h @ 22402:963d93b2fe7c
replaced 2 instances of sprintf() with snprintf() and one instance
of strncpy() followed by string termination with strlcpy();
patch by njkain gmail com. This patch is intended to render code
easier to audit against buffer oveflows
author | nicodvb |
---|---|
date | Sat, 03 Mar 2007 13:10:31 +0000 |
parents | 6196ba31e97e |
children | 3f0d00abc073 |
line wrap: on
line source
#ifndef __ASS_MPUTILS_H__ #define __ASS_MPUTILS_H__ #include "mp_msg.h" #include "help_mp.h" #include "libvo/font_load.h" // for blur() #include "subreader.h" // for guess_buffer_cp #include "libvo/sub.h" // for utf8_get_char #include "libavutil/common.h" #endif