Ran
|
Files
89
|
Run time
4s
|
Badge
Embed ▾
README BADGES
|
push
github
Fix FOLD rule for BUFHDR append. Reported by XmiliaH. (cherry-picked from commit bc1bdbf62) `bufput_append()` may fold `BUFHDR RESET` + `BUFPUT` IRs to `BUFHDR APPEND` even if the right operand (`BUFSTR`) is the PHI. If it's not the last IR in the `BUFSTR` chain, this may lead to an incorrect resulting value in the buffer, which contains a longer string since `APPEND` is used instead of `RESET`. This patch adds the corresponding check inside the fold rule. Sergey Kaplun: * added the description and the test for the problem Part of tarantool/tarantool#9145
5376 of 5987 branches covered (0.0%)
Branch coverage included in aggregate %.
20631 of 23356 relevant lines covered (88.33%)
2743118.9 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|