summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-09-23 12:42:30 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2020-09-23 12:42:30 +0300
commit70960bd33d2699bc96821ec0a0381ca6de86e93e (patch)
treedd0275d3e96c80ecbb76102ce4fbbea22002655c /strings
parentaf40a2b43e94cab6b25c9efe4b18c3112b4a9e6c (diff)
downloadmariadb-git-70960bd33d2699bc96821ec0a0381ca6de86e93e.tar.gz
UBSAN: Fix a bit shift overflow
Shifting a 16-bit type by 16 bits is undefined behaviour. The result is at least 32 bits, so let us cast the shift operand to a wider type before shifting.
Diffstat (limited to 'strings')
0 files changed, 0 insertions, 0 deletions