Ganesan Rajagopal 49b56f88b9
GPA: Catch invalid frees
* GPA: Catch invalid frees

Fix #14791: Catch cases where an invalid slice is passed to free().
This was silently ignored before but now logs an error. This change
uses a AutoHashMap to keep track of the sizes which seems to be an
overkill but seems like the easiest way to catch these errors.

* GPA: Add wrong alignment checks to free/resize

Implement @Inkryption's suggestion to catch free/resize with the wrong
alignment. I also changed the naming to match large allocations.
2023-04-04 13:11:25 +03:00
..
2023-01-31 15:09:35 -07:00
2023-01-31 15:09:35 -07:00
2023-01-02 19:18:33 -05:00
2022-08-04 18:02:01 -07:00
2022-08-04 18:09:10 -07:00
2023-04-04 13:11:25 +03:00
2023-02-04 15:19:53 -05:00
2022-11-04 00:09:27 +03:30