mesa: Remove -Werror=array-bounds and -Werror=format-nonliteral from compiler flags
mesa has a code path that could theoretically trigger an overrun;
however, this only happens if an internal (declared static) function
is called with incorrect parameters. This doesn't seem to be
exploitable.
There's also a harmless format-nonliteral warning.
Removing -Werror=array-bounds and -Werror=format-nonliteral here allows
us to use these flags globally in OPTIMIZE_FOR=security mode.
Signed-off-by:
Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
Please register or sign in to comment