summaryrefslogtreecommitdiffstats
path: root/ui/ncurses
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>2016-09-07 15:36:40 +1000
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2016-10-11 14:39:38 +1100
commitde2f990a98718d15bff074b9ae65f2eb92a2f938 (patch)
tree357bdb7dd29f2fcb91ee9ff594b2e89908461a36 /ui/ncurses
parentff09391bd6294cce5cfc294ce34148f464a8cf3a (diff)
downloadpetitboot-de2f990a98718d15bff074b9ae65f2eb92a2f938.zip
petitboot-de2f990a98718d15bff074b9ae65f2eb92a2f938.tar.gz
lib/file: Fix errors found by Coverity scan
Fix several errors in copy_file_secure_dest() found by Coverity and some minor formatting issues: 143603: Correctly handle mkstemp() return value 143605: Avoid accessing dest_filename[-1] on readlink() error 143606, 143610: Avoid accessing dest_filename[sizeof(dest_filename)] 143607: Fix incorrectly passing sizeof(pointer) to fread() 143608, 143611: Cleanup resources on early exit 143609: Explicitly set umask before calling mkstemp() Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'ui/ncurses')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud