diff options
author | Andrei Vagin <[email protected]> | 2022-03-23 16:06:20 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2022-03-23 19:00:34 -0700 |
commit | aeb213cddeb5c31f8d418180e0b9956bfd53b018 (patch) | |
tree | dedc751485e68d4a1c265f391a8a9d47c0598d7f /scripts/gdb/linux/tasks.py | |
parent | 5a519c8fe4d620912385f94372fc8472fa98c662 (diff) |
fs/pipe.c: local vars have to match types of proper pipe_inode_info fields
head, tail, ring_size are declared as unsigned int, so all local
variables that operate with these fields have to be unsigned to avoid
signed integer overflow.
Right now, it isn't an issue because the maximum pipe size is limited by
1U<<31.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Andrei Vagin <[email protected]>
Suggested-by: Dmitry Safonov <[email protected]>
Acked-by: Christian Brauner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions