summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Keith Mok <keithmok@google.com> 2023-08-04 22:17:08 +0000
committer Keith Mok <keithmok@google.com> 2023-08-11 21:40:23 +0000
commit3d9f1e3b0a135b784b9ffa0e65d6a699c7ed1f8e (patch)
treef33c337d1419118b34a13b1304d0b9b67feff061 /libs/ultrahdr/jpegencoderhelper.cpp
parent47f61c48649af99bb245e4faea08788b76b4347d (diff)
File size seal for memory mapped region
When using memfd for cross process communication, we always need to seal the file size, otherwise remote process and shrink the size we memory mapped and thus crash the originate process causing a DoS Bug: 294609150 Test: Build Ignore-AOSP-First: security Change-Id: Ibc263c4f78df897e884378e3d984a188ca8772c7
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions