diff options
author | Nicholas Johnson <nick@nicksphere.ch> | 2022-08-11 00:00:00 +0000 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2023-01-31 19:27:57 -0500 |
commit | 4cd300f2c408907b4a576b55fc15479afbd5d81f (patch) | |
tree | 37424e537fb41cce37e0a978cdf0b7813dc7b6d9 /%25252525253fid%25252525253de772c4b6d52627c463e70b4284e3794aa0bd0634%252525253fid%252525253d4cd300f2c408907b4a576b55fc15479afbd5d81f%2525253fid%2525253d4cd300f2c408907b4a576b55fc15479afbd5d81f%25253fid%25253d4cd300f2c408907b4a576b55fc15479afbd5d81f%253fid%253d4cd300f2c408907b4a576b55fc15479afbd5d81f%3fid%3d4cd300f2c408907b4a576b55fc15479afbd5d81f&id2%3dac5113640d742c105271a19343d709d5a4f6718c?id=4cd300f2c408907b4a576b55fc15479afbd5d81f | |
parent | ac5113640d742c105271a19343d709d5a4f6718c (diff) |
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 '%25252525253fid%25252525253de772c4b6d52627c463e70b4284e3794aa0bd0634%252525253fid%252525253d4cd300f2c408907b4a576b55fc15479afbd5d81f%2525253fid%2525253d4cd300f2c408907b4a576b55fc15479afbd5d81f%25253fid%25253d4cd300f2c408907b4a576b55fc15479afbd5d81f%253fid%253d4cd300f2c408907b4a576b55fc15479afbd5d81f%3fid%3d4cd300f2c408907b4a576b55fc15479afbd5d81f&id2%3dac5113640d742c105271a19343d709d5a4f6718c?id=4cd300f2c408907b4a576b55fc15479afbd5d81f')
0 files changed, 0 insertions, 0 deletions