diff options
author | Michael Forney <mforney@mforney.org> | 2021-09-25 13:27:27 -0700 |
---|---|---|
committer | Quentin Carbonneaux <quentin@c9x.me> | 2021-11-08 14:11:10 +0100 |
commit | ae8803cbe655f64a2ef1739c8dfc5c12af99bdfb (patch) | |
tree | ad526ee40568cc5ac7642ad677b69c69d3315377 /test/mem2.ssa | |
parent | cd095a44db262351b09ea144a44b76e22d62c77a (diff) | |
download | roux-ae8803cbe655f64a2ef1739c8dfc5c12af99bdfb.tar.gz |
amd64: avoid reading past end of passed struct
If the size of the struct is not a multiple of 8, the actual struct size may be different from the size reserved on the stack. This fixes the case where the struct is passed in memory, but we still may over-read a struct passed in registers. A TODO is added for now.
Diffstat (limited to 'test/mem2.ssa')
0 files changed, 0 insertions, 0 deletions