]> sourceware.org Git - glibc.git/commit
x86/CET: Don't parse beyond the note end
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 27 Jul 2018 20:20:51 +0000 (13:20 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 27 Jul 2018 20:23:31 +0000 (13:23 -0700)
commit4591b7db23bf5f58f6dbd81a5d9f926bf765cd09
treef784ed333517788b1255d37830c20a3e72454553
parent97f2237efa7e2cf269f925fe009a338eabcbc7f0
x86/CET: Don't parse beyond the note end

Simply check if "ptr < ptr_end" since "ptr" is always incremented by 8.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
* sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
parse beyond the note end.
ChangeLog
sysdeps/x86/dl-prop.h
This page took 0.037293 seconds and 5 git commands to generate.