mirror of https://github.com/BOINC/boinc.git
fix bug in boinc_UnzipToMemory(): properly init buffer to zero
svn path=/trunk/boinc/; revision=11874
This commit is contained in:
parent
8c99b4055e
commit
477eac8775
|
@ -318,7 +318,8 @@ boinc_UnzipToMemory ( char *zip, char *file, string &retstr )
|
|||
funcs.inputfn = (InputFn *)scanf;
|
||||
funcs.pausefn = (PauseFn *)( 0x01 );
|
||||
funcs.passwdfn = (PasswdFn *)( NULL );
|
||||
|
||||
|
||||
memset( &buf, 0, sizeof(buf) ); // data-blocks needs to be empty
|
||||
ret = UzpUnzipToMemory( zip, file, &opts, &funcs, &buf );
|
||||
|
||||
if ( ret )
|
||||
|
|
Loading…
Reference in New Issue