Mercurial > libavcodec.hg
changeset 2424:35ca0ef0c279 libavcodec
disallow strcat
author | michael |
---|---|
date | Wed, 12 Jan 2005 01:44:02 +0000 |
parents | 87b7fbed8609 |
children | d0bcc85d3856 |
files | common.h |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/common.h Wed Jan 12 00:59:42 2005 +0000 +++ b/common.h Wed Jan 12 01:44:02 2005 +0000 @@ -500,6 +500,7 @@ #define rand rand_is_forbidden_due_to_state_trashing #define srand srand_is_forbidden_due_to_state_trashing #define sprintf sprintf_is_forbidden_due_to_security_issues_use_snprintf +#define strcat strcat_is_forbidden_due_to_security_issues_use_pstrcat #if !(defined(LIBAVFORMAT_BUILD) || defined(_FRAMEHOOK_H)) #define printf please_use_av_log #define fprintf please_use_av_log