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-09-15 22:01:32 +0000
commit77b758c59f58a05d1c0d45350796951bc778745f (patch)
tree80c7d428984566d2bf84e75f5ddeb479212285ec /libs/ultrahdr/jpegencoderhelper.cpp
parent5636b1879241ad1b896ea04cf3fea2b2f15a7461 (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 Merged-In: Ibc263c4f78df897e884378e3d984a188ca8772c7 (cherry picked from commit 3d9f1e3b0a135b784b9ffa0e65d6a699c7ed1f8e)
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions