Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
159383f
)
rb: Validate struct _after_ read. [THRIFT-206]
author
Kevin Clark
<kclark@apache.org>
Fri, 14 Nov 2008 17:09:52 +0000
(17:09 +0000)
committer
Kevin Clark
<kclark@apache.org>
Fri, 14 Nov 2008 17:09:52 +0000
(17:09 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@714069
13f79535
-47bb-0310-9956-
ffa450edef68
lib/rb/lib/thrift/struct.rb
patch
|
blob
|
history
diff --git
a/lib/rb/lib/thrift/struct.rb
b/lib/rb/lib/thrift/struct.rb
index
a51f209
..
4b99168
100644
(file)
--- a/
lib/rb/lib/thrift/struct.rb
+++ b/
lib/rb/lib/thrift/struct.rb
@@
-82,7
+82,6
@@
module Thrift
end
def read(iprot)
- validate
# TODO(kevinclark): Make sure transport is C readable
if iprot.respond_to?(:decode_binary)
iprot.decode_binary(self, iprot.trans)
@@
-96,6
+95,7
@@
module Thrift
end
iprot.read_struct_end
end
+ validate
end
def write(oprot)