Milan Broz
7cabaa5d70
pbkdf: Do not allow memory cost that cannot be used in size_t
...
For 32bit platforms size_t is 32bit integer and unfortunately
our maximum hard limit overflows by 1.
Stop validation if this happens (it cannot be passed to malloc()
and similar functions anyway).
There should be no compatibility change, as such memory
is not allocatable on 32bit anyway.
Other platforms have 64bit size_t.
2024-12-12 22:45:21 +00:00
..
2024-12-12 15:56:00 +00:00
2024-11-23 20:52:19 +01:00
2024-12-03 20:25:54 +01:00
2024-12-12 15:56:00 +00:00
2024-12-03 20:25:54 +01:00
2024-12-03 20:25:54 +01:00
2024-12-03 20:28:00 +01:00
2024-12-03 20:25:54 +01:00
2024-12-12 15:56:00 +00:00
2024-06-03 16:38:15 +00:00
2024-12-03 20:28:00 +01:00
2024-11-08 15:46:28 +01:00
2024-11-08 15:46:28 +01:00
2024-07-16 08:05:13 +00:00
2024-06-03 16:38:15 +00:00
2024-12-03 20:25:54 +01:00
2022-08-23 12:06:07 +00:00
2024-10-30 13:25:57 +01:00
2024-12-03 20:25:54 +01:00
2023-07-17 13:14:52 +02:00
2023-07-17 13:14:52 +02:00
2024-06-03 16:38:15 +00:00
2024-12-03 20:28:00 +01:00
2024-06-03 16:38:15 +00:00
2024-08-26 17:40:04 +00:00
2024-06-03 16:38:15 +00:00
2024-12-03 20:25:54 +01:00
2024-12-03 20:25:54 +01:00
2024-06-03 16:38:15 +00:00
2024-06-03 16:38:15 +00:00
2024-10-08 12:22:46 +00:00
2024-06-03 16:38:15 +00:00
2024-12-03 20:28:00 +01:00
2024-06-03 16:38:15 +00:00
2024-06-03 16:38:15 +00:00
2024-11-25 14:55:47 +01:00
2024-11-25 14:55:47 +01:00
2024-07-24 08:28:32 +00:00
2024-06-03 16:38:15 +00:00
2024-12-12 22:45:21 +00:00
2024-06-03 16:38:15 +00:00
2024-12-03 20:25:54 +01:00
2024-06-03 16:38:15 +00:00
2024-06-05 10:49:08 +02:00
2024-07-10 09:48:08 +02:00
2024-12-03 13:33:59 +01:00