mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
r15353: Don't dereference NULL pointer. Found by the IBM checker.
This commit is contained in:
parent
ccb86ab159
commit
67d62fc556
@ -206,6 +206,7 @@ sub EjsPullArray($$$$$)
|
||||
# uint8 arrays are treated as data blobs
|
||||
if ($nl->{TYPE} eq 'DATA' && $e->{TYPE} eq 'uint8') {
|
||||
if (!$l->{IS_FIXED}) {
|
||||
check_null_pointer($size);
|
||||
pidl "EJS_ALLOC_N(ejs, $var, $size);";
|
||||
}
|
||||
check_null_pointer($length);
|
||||
|
Loading…
Reference in New Issue
Block a user