summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-parsing/noeol3.tests
diff options
context:
space:
mode:
authorYan Zhu2023-09-12 00:03:09 +0800
committerDenys Vlasenko2024-04-13 17:57:46 +0200
commit681e4f5d922b9f0ea968238750d5c5d748eac809 (patch)
tree01c9da53bb93254143299f9ad0105d3fe893200c /shell/hush_test/hush-parsing/noeol3.tests
parente1a68741067167dc4837e0a26d3d5c318a631fc7 (diff)
downloadbusybox-681e4f5d922b9f0ea968238750d5c5d748eac809.zip
busybox-681e4f5d922b9f0ea968238750d5c5d748eac809.tar.gz
docproc: avoid segfault during file closing
In the function find_export_symbols, since the fopen file does not exit when it fails, there is a dereference problem in fclose(fp), which will cause a segmentation fault. Signed-off-by: Yan Zhu <zhuyan2015@foxmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-parsing/noeol3.tests')
0 files changed, 0 insertions, 0 deletions