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:
026d7fc
)
THRIFT-2331 Missing call to ReadStructBegin() in TApplicationException.Read()
author
Jens Geyer
<jensg@apache.org>
Thu, 23 Jan 2014 18:16:52 +0000
(19:16 +0100)
committer
Jens Geyer
<jensg@apache.org>
Thu, 23 Jan 2014 18:16:52 +0000
(19:16 +0100)
Patch: Jens Geyer
lib/delphi/src/Thrift.pas
patch
|
blob
|
history
diff --git
a/lib/delphi/src/Thrift.pas
b/lib/delphi/src/Thrift.pas
index
f4b47ed
..
65f23ab
100644
(file)
--- a/
lib/delphi/src/Thrift.pas
+++ b/
lib/delphi/src/Thrift.pas
@@
-107,9
+107,11
@@
var
field : IField;
msg : string;
typ : TExceptionType;
+ struc : IStruct;
begin
msg := '';
typ := TExceptionType.Unknown;
+ struc := iprot.ReadStructBegin;
while ( True ) do
begin
field := iprot.ReadFieldBegin;