There is a mistake in the cast, resulting in a truncated read to tmp64.
Reported by: dfr
PR: 276406
Differential D43479
arm64: fix db_read_bytes() for size == 8 mhorne on Jan 17 2024, 4:51 PM. Authored by Tags None Referenced Files
Details There is a mistake in the cast, resulting in a truncated read to tmp64. Reported by: dfr
Diff Detail
Event TimelineComment Actions On a second look, the native-sized reads were not an optimization but rather to enable reading from device memory, per a67687fcd8f53. So, just fix the cast. Comment Actions Seems like there ought to be a comment before the if size == 8 / else if / else if block.
|