Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sanity check size passed to malloc...
Add sanity check before calling malloc in af_get_page() function to avoid undefined behavior (e.g., seg fault) when dealing with a corrupt AFF image with an invalid pagesize. Issue found by Luis Rocha ([email protected]).
- Loading branch information