Function Macro
GLibnewa
since: 2.0
Description
Wraps g_alloca()
in a more typesafe manner.
As mentioned in the documentation for g_alloca(), n_structs
must always be
entirely under the control of the program, or you may introduce a denial of
service vulnerability. In addition, the multiplication of struct_type
by
n_structs
is not checked, so an overflow may lead to a remote code execution vulnerability.
Available since: 2.0
This function is not directly available to language bindings.