1
0
mirror of https://git.tukaani.org/xz.git synced 2025-02-19 15:08:14 +00:00
Lasse Collin 24dd20ca1d Tests: test_index: Make it clear that my_alloc() has no integer overflows
liblzma guarantees that the product of the allocation size arguments
will fit in size_t.

Putting the pre-increment in the if-statement was clearly wrong
although in practice it didn't matter here as the function is
called only a couple of times.

(cherry picked from commit 7f865577a6224fbbb5f5ca52574b62ea8ac9bf51)
2024-05-22 00:12:07 +03:00
..
2023-12-22 20:02:06 +08:00
2023-12-22 20:02:06 +08:00
2022-10-06 17:34:27 +03:00
2023-12-22 20:02:06 +08:00
2023-12-22 20:02:06 +08:00
2023-08-01 18:44:02 +03:00