You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
binfmt_flat: revert "binfmt_flat: don't offset the data start"
binfmt_flat loader uses the gap between text and data to store data
segment pointers for the libraries. Even in the absence of shared
libraries it stores at least one pointer to the executable's own data
segment. Text and data can go back to back in the flat binary image and
without offsetting data segment last few instructions in the text
segment may get corrupted by the data segment pointer.
Fix it by reverting commit a235722 ("binfmt_flat: don't offset the
data start").
Cc: [email protected]
Fixes: a235722 ("binfmt_flat: don't offset the data start")
Signed-off-by: Max Filippov <[email protected]>
Signed-off-by: Greg Ungerer <[email protected]>
0 commit comments