1
0
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:
Jelmer Vernooij 2006-04-30 02:41:50 +00:00 committed by Gerald (Jerry) Carter
parent ccb86ab159
commit 67d62fc556

View File

@ -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);