Commit b0d3e815 authored by Adam Borowski's avatar Adam Borowski
Browse files

Handle open() failures better on certain device nodes.

It would be safer to stat() before open(), but is there a way to do so
without a TOCTOU race that's a root hole?  (Not that there'll be many users
on shared systems trying to exploit this particular program...)
parent 1dec7d89
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment