Skip to content

Conversation

@dand-oss
Copy link

@dand-oss dand-oss commented Jan 6, 2026

Added null guards before memcpy/memmove calls in Array template class.

Passing NULL to these functions with zero length is Undefined Behavior per C standard, even when length is zero.

Affected methods: copyFrom(), insert() overloads.

Added null guards before memcpy/memmove calls in Array template class.

Passing NULL to these functions with zero length is Undefined Behavior per C standard, even when length is zero.

Affected methods: copyFrom(), insert() overloads.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant