Commit 6a235142 authored by Rémi Duraffort's avatar Rémi Duraffort

mozilla plugin: fix potential buffer overlow.

(cherry picked from commit c49f9252)
Signed-off-by: default avatarRémi Duraffort <ivoire@videolan.org>
parent cb4165b9
......@@ -133,7 +133,7 @@ NPError VlcPlugin::init(int argc, char* const argn[], char* const argv[])
const char *progid = NULL;
/* parse plugin arguments */
for( int i = 0; i < argc ; i++ )
for( int i = 0; i < argc , ppsz_argc < 32; i++ )
{
/* fprintf(stderr, "argn=%s, argv=%s\n", argn[i], argv[i]); */
......
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