Revision 272605c7

View differences:

libavformat/rtpproto.c
25 25
#include <stdarg.h>
26 26
#include "network.h"
27 27
#include <fcntl.h>
28
#include "avstring.h"
28 29

  
29 30
#define RTP_TX_BUF_SIZE  (64 * 1024)
30 31
#define RTP_RX_BUF_SIZE  (128 * 1024)
libavutil/internal.h
241 241
#define rand rand_is_forbidden_due_to_state_trashing
242 242
#define srand srand_is_forbidden_due_to_state_trashing
243 243
#define sprintf sprintf_is_forbidden_due_to_security_issues_use_snprintf
244
#define strcat strcat_is_forbidden_due_to_security_issues_use_pstrcat
244
#define strcat strcat_is_forbidden_due_to_security_issues_use_av_strlcat
245 245
#define exit exit_is_forbidden
246 246
#if !(defined(LIBAVFORMAT_BUILD) || defined(_FRAMEHOOK_H))
247 247
#define printf please_use_av_log
vhook/ppm.c
28 28
#include "framehook.h"
29 29
#include "avformat.h"
30 30
#include "swscale.h"
31
#include "avstring.h"
31 32

  
32 33
static int sws_flags = SWS_BICUBIC;
33 34

  
......
68 69
            strcpy( command, "" );
69 70
            for ( i = 0; i < argc; i ++ )
70 71
            {
71
                pstrcat( command, COMMAND_SIZE, argv[ i ] );
72
                pstrcat( command, COMMAND_SIZE, " " );
72
                av_strlcat( command, argv[ i ], COMMAND_SIZE );
73
                av_strlcat( command, " ", COMMAND_SIZE );
73 74
            }
74 75

  
75 76
            dup2( output[ 0 ], STDIN_FILENO );

Also available in: Unified diff