file - scan-build results

User:root@runner-fa6cab46-project-29874687-concurrent-0
Working Directory:/builds/rootkea/file
Command Line:make -j1
Clang Version:Ubuntu clang version 13.0.0-2
Date:Fri Oct 29 03:32:12 2021

Bug Summary

Bug TypeQuantityDisplay?
All Bugs3
Logic error
Dangerous construct in a vforked process2
Security
Potential insecure implementation-specific behavior in call 'vfork'1

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length Description
Logic errorDangerous construct in a vforked processcompress.cuncompressbuf88529This function call is prohibited after a successful vforkView Report
Logic errorDangerous construct in a vforked processcompress.cuncompressbuf88930This function call is prohibited after a successful vforkView Report
SecurityPotential insecure implementation-specific behavior in call 'vfork'compress.cuncompressbuf8731Call to function 'vfork' is insecure as it can lead to denial of service situations in the parent process. Replace calls to vfork with calls to the safer 'posix_spawn' functionView Report