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
..
2016-10-05 19:49:48 +00:00
2017-01-28 02:22:15 +00:00
2016-10-05 20:01:09 +00:00
2017-01-19 16:59:55 +00:00
2016-10-05 20:08:07 +00:00
2017-01-04 18:13:05 +00:00
2016-10-02 23:26:41 +00:00
2016-10-02 23:30:28 +00:00
2016-05-02 01:40:31 +00:00
2016-10-05 20:31:44 +00:00
2016-10-02 23:48:33 +00:00
2017-01-28 02:22:15 +00:00
MFH
2016-03-02 16:14:46 +00:00
2016-04-19 04:52:13 +00:00
2016-04-19 04:52:51 +00:00
MFH
2016-04-04 23:55:32 +00:00
2016-10-02 23:56:08 +00:00
2016-10-05 20:42:35 +00:00
2016-10-05 20:45:21 +00:00
2016-12-28 16:16:48 +00:00
2016-10-03 00:40:20 +00:00
2016-10-03 00:42:25 +00:00
2015-06-13 19:20:56 +00:00
2016-04-20 01:35:09 +00:00
2016-12-22 00:35:12 +00:00