mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r15220: Another attempt to fix the bug found by the IBM Checker
This commit is contained in:
parent
f1da657d56
commit
9f79bfc05d
@ -154,7 +154,11 @@ sub EjsPullPointer($$$$$)
|
||||
my ($e, $l, $var, $name, $env) = @_;
|
||||
pidl "if (ejs_pull_null(ejs, v, $name)) {";
|
||||
indent;
|
||||
pidl "$var = NULL;";
|
||||
if ($l->{POINTER_TYPE} eq "ref") {
|
||||
pidl "return NT_STATUS_INVALID_PARAMETER_MIX;";
|
||||
} else {
|
||||
pidl "$var = NULL;";
|
||||
}
|
||||
deindent;
|
||||
pidl "} else {";
|
||||
indent;
|
||||
|
Loading…
Reference in New Issue
Block a user