Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check size of IndexRecord before allocating memory
Summary: A corrupt or crafted file could have an extremely large value for recordCount in the IndexRecord. Have an arbitrarily large value for the maximum records which limits memory allocation to an acceptable range. Reviewed By: georges-berenger Differential Revision: D57874850 fbshipit-source-id: fde6fb82c7b38cda4576965ae61f0c03df1f4276
- Loading branch information