diff options
author | rtogni <rtogni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-12-31 13:27:53 +0000 |
---|---|---|
committer | rtogni <rtogni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-12-31 13:27:53 +0000 |
commit | f865a1394153c4ac71e759c947407bd3977b052c (patch) | |
tree | 949d5a3864b328f2d2048274f93bddea2fa1c72e /stream/realrtsp/real.c | |
parent | 8558d03eb99cd3be50e1d49b02497f7e6a8c755a (diff) | |
download | mpv-f865a1394153c4ac71e759c947407bd3977b052c.tar.bz2 mpv-f865a1394153c4ac71e759c947407bd3977b052c.tar.xz |
Fix potential buffer overflow in asm rules matching code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21799 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/realrtsp/real.c')
-rw-r--r-- | stream/realrtsp/real.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/realrtsp/real.c b/stream/realrtsp/real.c index a0c92a87fc..84a3cdd18f 100644 --- a/stream/realrtsp/real.c +++ b/stream/realrtsp/real.c @@ -275,7 +275,7 @@ static rmff_header_t *real_parse_sdp(char *data, char **stream_rules, uint32_t b int j=0; int n; char b[64]; - int rulematches[16]; + int rulematches[MAX_RULEMATCHES]; #ifdef LOG printf("calling asmrp_match with:\n%s\n%u\n", desc->stream[i]->asm_rule_book, bandwidth); |