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 'doc%2525252525252525252525252525252525253fid%2525252525252525252525252525252525253d213e5f86a54a31101c66de60114e0cbb52dea7a7%25252525252525252525252525252525253fid%25252525252525252525252525252525253d98ff4dbacbdb37f811581ea3db09d64227f391a9%252525252525252525252525252525253fid%252525252525252525252525252525253d98ff4dbacbdb37f811581ea3db09d64227f391a9&id2%252525252525252525252525252525253d5394e981d9b5c25211c9c501af99a34af0c46f71%2525252525252525252525252525253fid%2525252525252525252525252525253d98ff4dbacbdb37f811581ea3db09d64227f391a9%25252525252525252525252525253fid%25252525252525252525252525253d98ff4dbacbdb37f811581ea3db09d64227f391a9&id2%25252525252525252525252525253d5394e981d9b5c25211c9c501af99a34af0c46f71%252525252525252525252525253fid%252525252525252525252525253d98ff4dbacbdb37f811581ea3db09d64227f391a9&id2%252525252525252525252525253d5394e981d9b5c25211c9c501af99a34af0c46f71%2525252525252525252525253fid%2525252525252525252525253d98ff4dbacbdb37f811581ea3db09d64227f391a9&id2%2525252525252525252525253d5394e981d9b5c25211c9c501af99a34af0c46f71%25252525252525252525253fid%25252525252525252525253d98ff4dbacbdb37f811581ea3db09d64227f391a9%252525252525252525253fid%252525252525252525253d5394e981d9b5c25211c9c501af99a34af0c46f71%2525252525252525253fid%2525252525252525253d5394e981d9b5c25211c9c501af99a34af0c46f71&id2%2525252525252525253de772c4b6d52627c463e70b4284e3794aa0bd0634%25252525252525253fid%25252525252525253d5394e981d9b5c25211c9c501af99a34af0c46f71%252525252525253fid%252525252525253d5394e981d9b5c25211c9c501af99a34af0c46f71%2525252525253fid%2525252525253de772c4b6d52627c463e70b4284e3794aa0bd0634%25252525253fid%25252525253de772c4b6d52627c463e70b4284e3794aa0bd0634&id2%25252525253d4cd300f2c408907b4a576b55fc15479afbd5d81f%252525253fid%252525253de772c4b6d52627c463e70b4284e3794aa0bd0634&id2%252525253d4cd300f2c408907b4a576b55fc15479afbd5d81f%2525253fid%2525253de772c4b6d52627c463e70b4284e3794aa0bd0634&id2%2525253d4cd300f2c408907b4a576b55fc15479afbd5d81f%25253fid%25253de772c4b6d52627c463e70b4284e3794aa0bd0634%253fid%253d4cd300f2c408907b4a576b55fc15479afbd5d81f%3fid%3d4cd300f2c408907b4a576b55fc15479afbd5d81f?id=4cd300f2c408907b4a576b55fc15479afbd5d81f')
0 files changed, 0 insertions, 0 deletions