freebsd-skq/sbin/savecore
Konrad Witaszczyk 3c7ccf15c7 Fix bugs found by Coverity in decryptcore(8) and savecore(8):
- Perform final decryption and write decrypted data in case of non-block aligned
input data;
- Use strlcpy(3) instead of strncpy(3) to verify if paths aren't too long;
- Check errno after calling unlink(2) instead of calling stat(2) in order to
verify if a decrypted core was created by a child process;
- Free dumpkey.

Reported by:	Coverity, cem, pfg
Suggested by:	cem
CID:		1366936, 1366942, 1366951, 1366952
Approved by:	pjd (mentor)
2017-02-04 14:10:16 +00:00
..
Makefile Explicitly add more files to the 'runtime' package. 2016-02-09 20:19:31 +00:00
Makefile.depend Update META_MODE dependencies. 2015-09-17 05:06:34 +00:00
savecore.8 Add support for encrypted kernel crash dumps. 2016-12-10 16:20:39 +00:00
savecore.c Fix bugs found by Coverity in decryptcore(8) and savecore(8): 2017-02-04 14:10:16 +00:00