Made initialization of iso_read_opts safer
This commit is contained in:
parent
ba89e41672
commit
05cb1dbaff
@ -153,6 +153,7 @@ int isoburn_read_image(struct burn_drive *d,
|
||||
if (ret < 0)
|
||||
return -2;
|
||||
|
||||
memset((char *) &ropts, 0, sizeof(ropts));
|
||||
ropts.norock = read_opts->norock;
|
||||
ropts.nojoliet = read_opts->nojoliet;
|
||||
ropts.preferjoliet = read_opts->preferjoliet;
|
||||
|
Loading…
Reference in New Issue
Block a user