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
and xp is initalized to xp=1 at the beginning of the do_rbind_xts call. This is only potentially a problem if x and y share an index value, and the shared index value happens to be the last value in the x index. In that case, real_xindex[xp-1] returns the last element, and real_xindex[xp] accesses memory outside the bounds of the x index.
The text was updated successfully, but these errors were encountered:
The following simple example causes AddressSanitizer to report a heap buffer overflow.
xts/src/rbind.c:216
isand
xp
is initalized toxp=1
at the beginning of thedo_rbind_xts
call. This is only potentially a problem ifx
andy
share an index value, and the shared index value happens to be the last value in thex
index. In that case,real_xindex[xp-1]
returns the last element, andreal_xindex[xp]
accesses memory outside the bounds of thex
index.The text was updated successfully, but these errors were encountered: