mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-15 04:20:28 +08:00
Inappropriate code style for Intel MPX. Fix missing of bounds in sysdeps/generic/unwind-dw2-fde.h
This commit is contained in:
parent
304c5527fb
commit
ff922ed8bd
@ -147,7 +147,7 @@ typedef struct dwarf_fde fde;
|
||||
static inline struct dwarf_cie *
|
||||
get_cie (struct dwarf_fde *f)
|
||||
{
|
||||
return (void *)&f->CIE_delta - f->CIE_delta;
|
||||
return (char *)f + offsetof (struct dwarf_fde, CIE_delta) - f->CIE_delta;
|
||||
}
|
||||
|
||||
static inline fde *
|
||||
|
Loading…
Reference in New Issue
Block a user