summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2025-07-20 21:42:14 +0800
committerKhem Raj <raj.khem@gmail.com>2025-07-20 13:09:40 -0700
commitf4bd933b301d6a2969a9c77ab7874d765eb6a312 (patch)
tree0f713c96f6c3215c1a52032939d95432425c5486 /meta-python/recipes-devtools/python/python3-grpcio-tools/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch
parent2de5071f9ac17338ea8a0ec0bbd451c5455166e9 (diff)
downloadmeta-openembedded-f4bd933b301d6a2969a9c77ab7874d765eb6a312.tar.gz
ufs-utils: fix crash for ufs-utils list_bsg
The full_path buffer in find_bsg_device function consists of: path + '/' + files->d_name + '\0' So the buffer size should be: strlen(path) + strlen(files->d_name) + 2, not: strlen(path) + strlen(files->d_name) + 1. Backport a patch to fix crash when running 32-bit binary on 64-bit system: $ ufs-utils list_bsg malloc(): invalid next size (unsorted) Aborted (core dumped) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-grpcio-tools/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch')
0 files changed, 0 insertions, 0 deletions