mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
pstore: Avoid size casts for 842 compression
Instead of casting, make sure we don't end up with giant values and just perform regular assignments with unsigned int instead of re-cast size_t. Signed-off-by: Kees Cook <keescook@chromium.org>
This commit is contained in:
parent
239b716199
commit
555974068e
1 changed files with 14 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue