Commit cc001c54 authored by vitor's avatar vitor

Make error message more helpful and forbid random()

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9472 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1d4ecd31
...@@ -238,8 +238,9 @@ if((y)<(x)){\ ...@@ -238,8 +238,9 @@ if((y)<(x)){\
#define free please_use_av_free #define free please_use_av_free
#define realloc please_use_av_realloc #define realloc please_use_av_realloc
#define time time_is_forbidden_due_to_security_issues #define time time_is_forbidden_due_to_security_issues
#define rand rand_is_forbidden_due_to_state_trashing #define rand rand_is_forbidden_due_to_state_trashing_use_av_random
#define srand srand_is_forbidden_due_to_state_trashing #define srand srand_is_forbidden_due_to_state_trashing_use_av_init_random
#define random random_is_forbidden_due_to_state_trashing_use_av_random
#define sprintf sprintf_is_forbidden_due_to_security_issues_use_snprintf #define sprintf sprintf_is_forbidden_due_to_security_issues_use_snprintf
#define strcat strcat_is_forbidden_due_to_security_issues_use_av_strlcat #define strcat strcat_is_forbidden_due_to_security_issues_use_av_strlcat
#define exit exit_is_forbidden #define exit exit_is_forbidden
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment