Add compat for reallocarray()
This function fails safely in the case where the multiplication would overflow.
This commit is contained in:
@@ -169,6 +169,7 @@ check_functions = [
|
||||
'vasprintf',
|
||||
'nrand48',
|
||||
'jrand48',
|
||||
'reallocarray',
|
||||
]
|
||||
|
||||
foreach f : check_functions
|
||||
|
||||
Reference in New Issue
Block a user