1
mirror of https://github.com/mpv-player/mpv synced 2024-11-03 03:19:24 +01:00

missing 1 byte in array size

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3614 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pl 2001-12-19 13:15:49 +00:00
parent e0c43586ae
commit 7139cf3408

View File

@ -249,8 +249,8 @@ static int read_option(struct config *conf, int conf_optnr, char *opt, char *par
if (param == NULL)
goto err_missing_param;
subparam = malloc(strlen(param));
subopt = malloc(strlen(param));
subparam = malloc(strlen(param)+1);
subopt = malloc(strlen(param)+1);
subconf = conf[i].p;
for (subconf_optnr = 0; subconf[subconf_optnr].name != NULL; subconf_optnr++)