diff options
Check that note files open before reading them
This fixes the scenario where a note file referenced by a todo, event,
or appointment is modified from outside the program in such a way that
it cannot be opened by the program, resulting in a segmentation fault.
The least surprising way to proceed is to ignore the note.
Signed-off-by: Nicholas Johnson <nick@nicksphere.ch>
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to '%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253d1351f8f0fea4cb3ccea8d65e3e2f5a8854abba75%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525253d1351f8f0fea4cb3ccea8d65e3e2f5a8854abba75%252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525252525252525252525252525252525253d1351f8f0fea4cb3ccea8d65e3e2f5a8854abba75&id2%252525252525252525252525252525252525252525252525252525252525252525252525252525252525253d2b766040a9a5684aa71757a0ad96fb37b5333e09%2525252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525252525252525252525252525253d1351f8f0fea4cb3ccea8d65e3e2f5a8854abba75&id2%2525252525252525252525252525252525252525252525252525252525252525252525252525252525253d2b766040a9a5684aa71757a0ad96fb37b5333e09%2525252525252525252525252525252525252525252525252525252525252525252525252525253fid2%2525252525252525252525252525252525252525252525252525252525252525252525252525253dc886398beec480bf3035b654aa01e3ec7ce8ddfc%252525252525252525252525252525252525252525252525252525252525252525252525253fid2%252525252525252525252525252525252525252525252525252525252525252525252525253dc886398beec480bf3035b654aa01e3ec7ce8ddfc%25252525252525252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525252525252525253dc886398beec480bf3035b654aa01e3ec7ce8ddfc%252525252525252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525252525252525253db0d94d4e840b0a95a16b3f4740c42d92cabb194b%2525252525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525252525253db8b7a3a7348417256885b4d7fe9d7967ba00a95c%25252525252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525252525253db8b7a3a7348417256885b4d7fe9d7967ba00a95c&id2%25252525252525252525252525252525252525252525252525252525252525253dea9a98ca5d2520f1fa32f02e88ebde865c44a13d%252525252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525252525253db8b7a3a7348417256885b4d7fe9d7967ba00a95c&id2%252525252525252525252525252525252525252525252525252525252525253dea9a98ca5d2520f1fa32f02e88ebde865c44a13d%2525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525253db8b7a3a7348417256885b4d7fe9d7967ba00a95c%252525252525252525252525252525252525252525252525253fshowmsg%252525252525252525252525252525252525252525252525253d1%2525252525252525252525252525252525252525253fid2%2525252525252525252525252525252525252525253dc886398beec480bf3035b654aa01e3ec7ce8ddfc%2525252525252525252525252525252525253fid%2525252525252525252525252525252525253dc886398beec480bf3035b654aa01e3ec7ce8ddfc%25252525252525252525252525252525253fid%25252525252525252525252525252525253dc886398beec480bf3035b654aa01e3ec7ce8ddfc%252525252525252525252525252525253fid%252525252525252525252525252525253db0d94d4e840b0a95a16b3f4740c42d92cabb194b%2525252525252525252525252525253fid%2525252525252525252525252525253db0d94d4e840b0a95a16b3f4740c42d92cabb194b%25252525252525252525252525253fid%25252525252525252525252525253db8b7a3a7348417256885b4d7fe9d7967ba00a95c%252525252525252525252525253fid%252525252525252525252525253dea9a98ca5d2520f1fa32f02e88ebde865c44a13d%2525252525252525252525253fid%2525252525252525252525253d1c5eb9f962e97a3f23dc0f1df0408e67b078bb14%25252525252525252525253fid%25252525252525252525253d1c5eb9f962e97a3f23dc0f1df0408e67b078bb14%252525252525252525253fid%252525252525252525253d1c5eb9f962e97a3f23dc0f1df0408e67b078bb14%2525252525252525253fid%2525252525252525253d1c5eb9f962e97a3f23dc0f1df0408e67b078bb14%25252525252525253fid%25252525252525253d213e5f86a54a31101c66de60114e0cbb52dea7a7%252525252525253fid%252525252525253d98ff4dbacbdb37f811581ea3db09d64227f391a9%2525252525253fid%2525252525253d5394e981d9b5c25211c9c501af99a34af0c46f71%25252525253fid%25252525253de772c4b6d52627c463e70b4284e3794aa0bd0634%252525253fid%252525253de772c4b6d52627c463e70b4284e3794aa0bd0634%2525253fid%2525253de772c4b6d52627c463e70b4284e3794aa0bd0634%25253fid%25253de772c4b6d52627c463e70b4284e3794aa0bd0634&id2%25253d4cd300f2c408907b4a576b55fc15479afbd5d81f%253fid%253de772c4b6d52627c463e70b4284e3794aa0bd0634&id2%253d4cd300f2c408907b4a576b55fc15479afbd5d81f%3fid%3de772c4b6d52627c463e70b4284e3794aa0bd0634?id=4cd300f2c408907b4a576b55fc15479afbd5d81f')
0 files changed, 0 insertions, 0 deletions