diff options
author | Moti Haimovski <mhaimovski@habana.ai> | 2020-08-19 17:40:33 +0300 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2020-08-31 15:10:27 +0300 |
commit | 6396feabf7a4104a4ddfecc00b8aac535c631a66 (patch) | |
tree | db334ddac88a5e85ebdc9d9737274f87373fd00d /scripts/gdb/linux/lists.py | |
parent | f75aef392f869018f78cfedf3c320a6b3fcfda6b (diff) |
habanalabs: prevent user buff overflow
This commit fixes a potential debugfs issue that may occur when
reading the clock gating mask into the user buffer since the
user buffer size was not taken into consideration.
Signed-off-by: Moti Haimovski <mhaimovski@habana.ai>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions