Skip to content
Commit 4233a399 authored by David Oberhollenzer's avatar David Oberhollenzer
Browse files

mtd-utils: Fix various TOCTOU issues



This patch restructures various code parts that follow the pattern
of "stat(x, &sb) ... makes_sense(&sb) ... open(x)".

Signed-off-by: default avatarDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
parent b636250e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment