diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-09-18 06:11:46 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-09-18 06:11:46 -0700 |
commit | 379e712cb49f3e249bd5c50e41ec02bc40411816 (patch) | |
tree | 65cea5fdf50f07d3ceeaa81706b7ed8c8107515e /lib.h | |
parent | b88fe485cef6ac08b621b193e69556d65704398c (diff) | |
download | txr-379e712cb49f3e249bd5c50e41ec02bc40411816.tar.gz txr-379e712cb49f3e249bd5c50e41ec02bc40411816.tar.bz2 txr-379e712cb49f3e249bd5c50e41ec02bc40411816.zip |
Improved ~/.txr_profile checks, with security.
* parser.c (load_rcfile): Use path-exists-p for the existence
check. Since that doesn't throw, it's outside of the
catch section. Use path-private-to-me-p to impose a security
check on the profile file. If an error exception is caught,
show the details.
* txr.1: Added notes about security check.
Diffstat (limited to 'lib.h')
0 files changed, 0 insertions, 0 deletions