Commit c49f9252 authored by Rémi Duraffort's avatar Rémi Duraffort

mozilla plugin: fix potential buffer overlow.

parent c5b02d01
......@@ -134,7 +134,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