diff options
| author | Andrew Price <anprice@redhat.com> | 2024-03-11 18:40:36 +0300 | 
|---|---|---|
| committer | Andreas Gruenbacher <agruenba@redhat.com> | 2024-03-11 19:11:18 +0300 | 
| commit | c95346ac918c5badf51b9a7ac58a26d3bd5bb224 (patch) | |
| tree | 23318b896bd0e2aca3387de5806cd39f58fde727 /scripts/gcc-plugins/sancov_plugin.c | |
| parent | e8f897f4afef0031fe618a8e94127a0934896aba (diff) | |
| download | linux-c95346ac918c5badf51b9a7ac58a26d3bd5bb224.tar.xz | |
gfs2: Fix invalid metadata access in punch_hole
In punch_hole(), when the offset lies in the final block for a given
height, there is no hole to punch, but the maximum size check fails to
detect that.  Consequently, punch_hole() will try to punch a hole beyond
the end of the metadata and fail.  Fix the maximum size check.
Signed-off-by: Andrew Price <anprice@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions
