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
In the function HashBuffer(), the pointer ptr is converted to unsigned char * type, but the size is element size, not byte size. So in MurmurHash64A(), the end is not the real end of the data.
The text was updated successfully, but these errors were encountered:
https://github.com/mmp/pbrt-v4/blob/779d1a78b74aab393853544198189729434121b5/src/pbrt/util/hash.h#L81C33-L81C42
In the function HashBuffer(), the pointer
ptr
is converted tounsigned char *
type, but thesize
is element size, not byte size. So inMurmurHash64A()
, theend
is not the real end of the data.The text was updated successfully, but these errors were encountered: