diff options
author | Ross Burton <ross.burton@intel.com> | 2016-02-08 20:35:40 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-16 11:17:10 +0000 |
commit | 334e1b5e0ee52f201379aee2d3b4d39943ee19e4 (patch) | |
tree | 298ca217bcb8051d294e31eb8e889150a528cbf2 /meta/classes/insane.bbclass | |
parent | 11359e9d5db948cf981228abe0020ce20087eb26 (diff) | |
download | poky-334e1b5e0ee52f201379aee2d3b4d39943ee19e4.tar.gz |
lib/oe/qa: ELFFile: check that a path is a file before opening it
When opening an ELF file check that a filename points to a normal file before
attempting to open it, as if the file turns out to be something more exotic like
a FIFO it could hang forever.
(From OE-Core rev: 4b3576bc30d8f8cdcde25189def8b059fc92b27c)
(From OE-Core rev: d3af2058e2753516b9aaf7f6d71162363eea11d4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/insane.bbclass')
0 files changed, 0 insertions, 0 deletions