mirror of
https://github.com/samba-team/samba.git
synced 2025-11-22 16:23:49 +03:00
r22852: merge fixes for CVE-2007-2446 and CVE-2007-2447 to all branches
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
34f77af02e
commit
f65214be68
@@ -644,7 +644,7 @@ BOOL prs_pointer( const char *name, prs_struct *ps, int depth,
|
||||
return True;
|
||||
|
||||
if (UNMARSHALLING(ps)) {
|
||||
if ( !(*data = PRS_ALLOC_MEM_VOID(ps, data_size)) )
|
||||
if ( !(*data = PRS_ALLOC_MEM(ps, char, data_size)) )
|
||||
return False;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user