Repository navigation
fix incorrect usage of memcpySmall - #450
Merged
Merged
Conversation
ztlpn
commented
Feb 3, 2017
| ToFieldType value = 0; | ||
| memcpySmallAllowReadWriteOverflow15( | ||
| &value, &data_from[offset], std::min(sizeof(ToFieldType), offsets_from[i] - offset - 1)); | ||
| memcpy(&value, &data_from[offset], std::min(sizeof(ToFieldType), offsets_from[i] - offset - 1)); |
Contributor
Author
There was a problem hiding this comment.
I have checked only superficially but these seem to be the only two places where memcpySmall is used to copy to integer values on the stack.
taiyang-li
added a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Jul 24, 2023
taiyang-li
added a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Aug 3, 2023
taiyang-li
added a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Aug 15, 2023
liuneng1994
pushed a commit
to liuneng1994/ClickHouse
that referenced
this pull request
Aug 18, 2023
liuneng1994
pushed a commit
to liuneng1994/ClickHouse
that referenced
this pull request
Aug 18, 2023
binmahone
pushed a commit
to binmahone/ClickHouse
that referenced
this pull request
Aug 25, 2023
taiyang-li
added a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Aug 31, 2023
taiyang-li
added a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Sep 12, 2023
binmahone
pushed a commit
to binmahone/ClickHouse
that referenced
this pull request
Sep 20, 2023
liuneng1994
pushed a commit
to liuneng1994/ClickHouse
that referenced
this pull request
Sep 21, 2023
binmahone
pushed a commit
to binmahone/ClickHouse
that referenced
this pull request
Sep 25, 2023
taiyang-li
added a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Oct 12, 2023
taiyang-li
added a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Nov 6, 2023
lgbo-ustc
pushed a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Nov 20, 2023
lgbo-ustc
pushed a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Nov 24, 2023
lgbo-ustc
pushed a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Nov 27, 2023
taiyang-li
added a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Dec 5, 2023
taiyang-li
added a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Dec 6, 2023
taiyang-li
added a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Dec 18, 2023
taiyang-li
added a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Dec 19, 2023
lgbo-ustc
pushed a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Dec 25, 2023
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61)
lgbo-ustc
pushed a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Dec 26, 2023
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61)
loneylee
pushed a commit
to loneylee/ClickHouse
that referenced
this pull request
Jan 2, 2024
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61) (cherry picked from commit 7e94060)
taiyang-li
added a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Jan 11, 2024
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61) (cherry picked from commit 7e94060) (cherry picked from commit 5d30bf3)
liuneng1994
pushed a commit
to liuneng1994/ClickHouse
that referenced
this pull request
Jan 16, 2024
taiyang-li
added a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Jun 7, 2024
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61)
taiyang-li
added a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Jun 17, 2024
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61)
liuneng1994
pushed a commit
to liuneng1994/ClickHouse
that referenced
this pull request
Jun 24, 2024
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61)
liuneng1994
pushed a commit
to liuneng1994/ClickHouse
that referenced
this pull request
Jul 9, 2024
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61)
liuneng1994
pushed a commit
to liuneng1994/ClickHouse
that referenced
this pull request
Jul 16, 2024
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61)
lgbo-ustc
pushed a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Jul 29, 2024
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61)
taiyang-li
added a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Aug 27, 2024
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61)
lgbo-ustc
pushed a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Sep 2, 2024
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61)
liuneng1994
pushed a commit
to liuneng1994/ClickHouse
that referenced
this pull request
Sep 18, 2024
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61)
loneylee
pushed a commit
to loneylee/ClickHouse
that referenced
this pull request
Oct 8, 2024
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61)
taiyang-li
added a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Oct 8, 2024
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61)
baibaichen
pushed a commit
to baibaichen/ClickHouse
that referenced
this pull request
Oct 10, 2024
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61)
taiyang-li
added a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Nov 13, 2024
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61)
taiyang-li
added a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Nov 25, 2024
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61)
taiyang-li
added a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Dec 2, 2024
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61)
taiyang-li
added a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Dec 2, 2024
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61)
taiyang-li
added a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Dec 19, 2024
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61)
loneylee
pushed a commit
to loneylee/ClickHouse
that referenced
this pull request
Dec 24, 2024
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61)
loneylee
pushed a commit
to loneylee/ClickHouse
that referenced
this pull request
Jan 6, 2025
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61)
liuneng1994
pushed a commit
to liuneng1994/ClickHouse
that referenced
this pull request
Jan 17, 2025
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61)
zhanglistar
pushed a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Feb 12, 2025
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61)
zhanglistar
pushed a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Feb 14, 2025
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61)
zhanglistar
pushed a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Feb 18, 2025
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61)
liuneng1994
pushed a commit
to liuneng1994/ClickHouse
that referenced
this pull request
Feb 20, 2025
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61)
liuneng1994
pushed a commit
to liuneng1994/ClickHouse
that referenced
this pull request
Feb 24, 2025
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61)
lgbo-ustc
pushed a commit
to bigo-sg/ClickHouse
that referenced
this pull request
Apr 8, 2025
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61)
baibaichen
pushed a commit
to baibaichen/ClickHouse
that referenced
this pull request
Apr 22, 2025
…o ch column. (ClickHouse#450) (cherry picked from commit 1f2ae61)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#442