Add some input validations in ClassReader.

Merged Eric Bruneton requested to merge add-classreader-input-checks into master

Merge request reports