summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/tftp-hpa/files/add-error-check-for-disk-filled-up.patch
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@eng.windriver.com>2025-07-20 22:03:49 +0800
committerArmin Kuster <akuster808@gmail.com>2025-07-27 14:35:10 -0400
commitdca497d728792e3cb655c78455c2d649af312ce8 (patch)
tree898144cefb24260ed4e3d89c234c4914f0739c65 /meta-networking/recipes-daemons/tftp-hpa/files/add-error-check-for-disk-filled-up.patch
parent78447a67fc8495d485b327d984147d9fd519d8b0 (diff)
downloadmeta-openembedded-walnascar.tar.gz
][PATCH] ufs-utils: fix crash for ufs-utils list_bsgwalnascar-nextwalnascar
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: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-networking/recipes-daemons/tftp-hpa/files/add-error-check-for-disk-filled-up.patch')
0 files changed, 0 insertions, 0 deletions