[MDEV-13605] mariadb-10.2.8/storage/tokudb/PerconaFT/ft/serialize/quicklz.cc: 2 * cart before horse ? Created: 2017-08-21  Updated: 2017-09-29

Status: Confirmed
Project: MariaDB Server
Component/s: Storage Engine - TokuDB
Affects Version/s: 10.2
Fix Version/s: 10.2

Type: Bug Priority: Minor
Reporter: David Binderman Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: cppcheck, upstream


 Description   

mariadb-10.2.8/storage/tokudb/PerconaFT/ft/serialize/quicklz.cc:427]: (style) Array index 'matchlen' is used before limits check.

Source code is

    while(*(offset2 + matchlen) == *(src + matchlen) && matchlen < remaining)

Possible duplicate:

mariadb-10.2.8/storage/tokudb/PerconaFT/ft/serialize/quicklz.cc:443]: (style) Array index 'm' is used before limits check.



 Comments   
Comment by Sergei Golubchik [ 2017-08-21 ]

reported upstream: https://jira.percona.com/browse/TDB-73

Comment by Elena Stepanova [ 2017-09-18 ]

No response, no updates on the upstream issue.

Comment by Elena Stepanova [ 2017-09-19 ]

Setting affected/fix version just for cleanup, not as an indication that we are not going to wait for upstream anymore – we are.

Generated at Thu Feb 08 08:06:54 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.