diff options
Diffstat (limited to 'source4/build/pidl/ndr.pm')
-rw-r--r-- | source4/build/pidl/ndr.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/build/pidl/ndr.pm b/source4/build/pidl/ndr.pm index ac65f16d95..fce7f26f93 100644 --- a/source4/build/pidl/ndr.pm +++ b/source4/build/pidl/ndr.pm @@ -1793,6 +1793,9 @@ sub ParseFunctionPush($) foreach my $e (@{$fn->{ELEMENTS}}) { if (util::has_property($e, "in")) { + if (util::has_property($e, "ref")) { + check_null_pointer("*r->in.$e->{NAME}"); + } ParseFunctionElementPush($e, "in"); } } @@ -1803,6 +1806,9 @@ sub ParseFunctionPush($) foreach my $e (@{$fn->{ELEMENTS}}) { if (util::has_property($e, "out")) { + if (util::has_property($e, "ref")) { + check_null_pointer("*r->out.$e->{NAME}"); + } ParseFunctionElementPush($e, "out"); } } |