Skip to content

Commit

Permalink
fix out-of-bounds read
Browse files Browse the repository at this point in the history
  • Loading branch information
wjakob committed Jan 18, 2019
1 parent 1d59f9d commit 918453e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/enoki/dynamic.h
Expand Up @@ -163,7 +163,7 @@ struct DynamicArrayImpl : ArrayBase<value_t<Packet_>, Derived_> {
ENOKI_NOINLINE DynamicArrayImpl &operator=(const DynamicArrayImpl &other) {
resize(other.size());
memcpy(m_packets.get(), other.m_packets.get(),
packets_allocated() * sizeof(Packet));
packets() * sizeof(Packet));
return derived();
}

Expand Down

0 comments on commit 918453e

Please sign in to comment.