git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
be39641
)
pidl:NDR: correctly handle no pointer bracket arrays with 'string'
author
Stefan Metzmacher
<metze@samba.org>
Mon, 9 Aug 2010 17:38:30 +0000
(19:38 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 9 Aug 2010 17:39:10 +0000
(19:39 +0200)
metze
pidl/lib/Parse/Pidl/NDR.pm
patch
|
blob
|
history
diff --git
a/pidl/lib/Parse/Pidl/NDR.pm
b/pidl/lib/Parse/Pidl/NDR.pm
index 20f52bf9d5298c8f44acc2f9cbc23230018a67b1..2358a25956397517fa1fcdc483b90ad4e115801b 100644
(file)
--- a/
pidl/lib/Parse/Pidl/NDR.pm
+++ b/
pidl/lib/Parse/Pidl/NDR.pm
@@
-125,7
+125,7
@@
sub GetElementLevelTable($$)
if ($d eq "*") {
$is_conformant = 1;
if ($size = shift @size_is) {
- if (has_property($e, "string")) {
+ if (
$e->{POINTERS} < 1 and
has_property($e, "string")) {
$is_string = 1;
delete($e->{PROPERTIES}->{string});
}