commit | dd98c252aea2a3dcd4014cb71bcdf9588519b800 | [log] [tgz] |
---|---|---|
author | Tobin C. Harding <[email protected]> | Thu Nov 09 15:37:06 2017 +1100 |
committer | Tobin C. Harding <[email protected]> | Tue Nov 14 09:29:27 2017 +1100 |
tree | 3e093f8ab931482bbc2b29130021e53604e61e68 | |
parent | 62139c1242b573cb647776e3abc503a69fbd2c08 [diff] |
leaking_addresses: add timeout on file read Currently script can stall if we read certain files (like /proc/kmsg). While we have a mechanism to skip these files once they are discovered it would be nice to not stall on as yet undiscovered files of this kind. Set a timer before each file is parsed, warn user if timer expires. Suggested-by: Kees Cook <[email protected]> Signed-off-by: Tobin C. Harding <[email protected]>