diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-01-12 01:44:02 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-01-12 01:44:02 +0000 |
commit | 1f3f9507997830c8fc229e53dadca3ef6eb8149f (patch) | |
tree | d36815d663188e6968666fc893f524ae8e85e45b /libavcodec/common.h | |
parent | 52f4aea0def80c645f8c3dccf8510ea5c1c174a3 (diff) | |
download | ffmpeg-1f3f9507997830c8fc229e53dadca3ef6eb8149f.tar.gz |
disallow strcat
Originally committed as revision 3826 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/common.h')
-rw-r--r-- | libavcodec/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/common.h b/libavcodec/common.h index c33812e697..ec81297ba2 100644 --- a/libavcodec/common.h +++ b/libavcodec/common.h @@ -500,6 +500,7 @@ tend= rdtsc();\ #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 |