force to 'size_t' before shift
* common/iobuf.c (block_filter): add size_t.
- Signed-off-by: lutianxiong <lutianxiong@huawei.com>
gniibe |
gnupg |
force to 'size_t' before shift
* common/iobuf.c (block_filter): add size_t.
Lint Skipped |
Unit Tests Skipped |
Thanks for the patch.
I see your point in T4975: undefined-shift in block_filter.
You are right that we have a problem of possible overflow (which could be kicked by fuzzing) here.
(The actual impact would be small, though).