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
This is a bit tricky - when we have a padded array we have a struct with
a slightly smaller array followed by the last element, since that last
element doesn't itself have padding. Here, we create an imaginary array
type with the padding on every element and index into that - this looks
like we index out of bounds of the smaller array for the last element
but this is okay because we only read the memory of the value that is
legitimately there.
0 commit comments