aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorGao Xiang <[email protected]>2022-03-11 02:27:42 +0800
committerGao Xiang <[email protected]>2022-03-17 00:08:48 +0800
commitab474fccd04509db89fde8d3b28c39aa9a47db64 (patch)
treef79c58458b64ed05bbb623ea10132efb399782d2 /lib/test_fortify/write_overflow-memcpy.c
parentd467e980d0239fd95cc93b0995199973624a4825 (diff)
erofs: clean up z_erofs_extent_lookback
Avoid the unnecessary tail recursion since it can be converted into a loop directly in order to prevent potential stack overflow. It's a pretty straightforward conversion. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Yue Hu <[email protected]> Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Gao Xiang <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions