summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-09-25 13:27:27 -0700
committerQuentin Carbonneaux <quentin@c9x.me>2021-11-08 14:11:10 +0100
commitae8803cbe655f64a2ef1739c8dfc5c12af99bdfb (patch)
treead526ee40568cc5ac7642ad677b69c69d3315377 /doc
parentcd095a44db262351b09ea144a44b76e22d62c77a (diff)
downloadroux-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 'doc')
0 files changed, 0 insertions, 0 deletions