diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-09-23 06:43:22 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-09-23 06:43:22 -0700 |
commit | 56a3bfb691828a0cec5f3156c553efd8253fa914 (patch) | |
tree | 1e3660a0473bfdd6c42bf3a5d87d3e9ef2565a3a /linenoise | |
parent | 1067252f091ca438d19929523baaa0f8bf6a51cb (diff) | |
download | txr-56a3bfb691828a0cec5f3156c553efd8253fa914.tar.gz txr-56a3bfb691828a0cec5f3156c553efd8253fa914.tar.bz2 txr-56a3bfb691828a0cec5f3156c553efd8253fa914.zip |
Fix race in ~/.txr_profile security check.
* parser.c (load_rcfile): Apply the privacy test to
the open stream, rather than the file name, thus
guarding against the possibility that a verified
file object is replaced by another one before it
is opened.
Diffstat (limited to 'linenoise')
0 files changed, 0 insertions, 0 deletions