summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2014-06-25 17:54:12 +0100
committerNeil Fuller <nfuller@google.com>2014-07-17 09:16:55 +0100
commit47f0ec56cee6518e19296150ecc8800bb2ac5af5 (patch)
tree3447a715281a42e4a785d2a52a0601df8f2917bd /annotations/generate_annotated_java_files.py
parent2bc5e811a817a8c667bca4318ae98582b0ee6dc6 (diff)
Add additional checks in ObjectInputStream
Thanks to Jann Horn for reporting a bug in ObjectInputStream and sending the initial patch. Add some checks that the class of an object being deserialized still conforms to the requirements for serialization. Add some checks that the class being deserialized matches the type information (enum, serializable, externalizable) held in the stream. Delayed static initialization of classes until the type of the class has been validated against the stream content in some cases. Added more tests. Bug: 15874291 (cherry picked from commit 738c833d38d41f8f76eb7e77ab39add82b1ae1e2) Change-Id: I9f5437ed60936882de56589537176466624e631d
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions