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-04-01 14:22:44 +02:00
2023-03-25 14:09:00 +02:00
2023-04-04 13:11:25 +03:00
2023-03-21 15:01:45 +02:00
2023-03-05 02:59:01 -05:00
2022-12-13 13:14:20 +02:00
2022-11-04 00:09:27 +03:30
2023-03-19 00:39:29 -04:00
2023-02-18 19:17:21 -07:00
2022-12-13 13:14:20 +02:00
2023-03-15 10:48:15 -07:00
2023-03-03 02:37:45 -05:00
2023-02-20 09:09:05 +11:00
2023-03-15 10:48:12 -07:00
2023-03-21 15:01:45 +02:00
2023-03-31 22:50:31 +02:00
2023-04-02 04:49:53 -04:00
2023-04-02 04:49:53 -04:00
2023-03-17 17:50:25 +01:00
2023-03-31 21:22:30 +02:00
2023-03-09 14:55:13 -06:00