diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2022-12-19 01:07:38 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2023-01-09 00:10:52 +0100 |
commit | 2748c45d468b6208f70972adc7ae2e532b2c3015 (patch) | |
tree | 0657da40fd5c6364addb49502913b401474dbe03 /package/kernel/bcm27xx-gpu-fw | |
parent | ef3919bea962ad48f8d0634dd0d3a3ad6fb79238 (diff) | |
download | upstream-2748c45d468b6208f70972adc7ae2e532b2c3015.tar.gz upstream-2748c45d468b6208f70972adc7ae2e532b2c3015.tar.bz2 upstream-2748c45d468b6208f70972adc7ae2e532b2c3015.zip |
elfutils: Ignore wrong use-after-free error
GCC 12.2.0 shows this false positive error message:
````
In function 'bigger_buffer',
inlined from '__libdw_gunzip' at gzip.c:374:12:
gzip.c:96:9: error: pointer may be used after 'realloc' [-Werror=use-after-free]
96 | b = realloc (state->buffer, more -= 1024);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gzip.c:94:13: note: call to 'realloc' here
94 | char *b = realloc (state->buffer, more);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
````
GCC bug report: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104069
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/kernel/bcm27xx-gpu-fw')
0 files changed, 0 insertions, 0 deletions