Skip to content

PODArray: Avoid call to memcpy with (nullptr, 0) arguments#18526

Merged
alexey-milovidov merged 19 commits intomasterfrom
podarray-ubsan
Jan 2, 2021
Merged

PODArray: Avoid call to memcpy with (nullptr, 0) arguments#18526
alexey-milovidov merged 19 commits intomasterfrom
podarray-ubsan

Conversation

@alexey-milovidov
Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
PODArray: Avoid call to memcpy with (nullptr, 0) arguments (Fix UBSan report). This fixes #18525.

@robot-clickhouse robot-clickhouse added the pr-improvement Pull request with some product improvements label Dec 25, 2020
@alexey-milovidov alexey-milovidov merged commit aff724e into master Jan 2, 2021
@alexey-milovidov alexey-milovidov deleted the podarray-ubsan branch January 2, 2021 14:07
@alexey-milovidov alexey-milovidov self-assigned this Jan 2, 2021
alexey-milovidov added a commit that referenced this pull request Jan 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-improvement Pull request with some product improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fuzzer, UBSan, statistical functions, PODArray, memcpy called with zero size and nullptr.

2 participants