|
| From: | Michael Tokarev |
| Subject: | Re: [Qemu-devel] [PATCH] pci-assign: avoid pointless stat |
| Date: | Thu, 12 Jan 2017 13:54:37 +0300 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.5.1 |
04.01.2017 18:05, Paolo Bonzini wrote: > Just check the errno value after fopen and follow it with fstat. > This shuts up Coverity's complaint about TOC/TOU violation. Applied to -trivial, thanks! /mjt
| [Prev in Thread] | Current Thread | [Next in Thread] |