Messages in this thread | | | Date | Fri, 15 Mar 2019 09:27:40 -0400 | From | Josef Bacik <> | Subject | Re: [PATCH] block: nbd: fix a missing check for nla_nest_start |
| |
On Fri, Mar 15, 2019 at 01:31:38AM -0500, Kangjie Lu wrote: > nla_nest_start may fail and thus deserves a check. > > The fix inserts such a check and exits gracefully in case it > fails. >
Except it won't because we pre-reserve enough space for that attr. Subsequent calls could fail, and those are checked properly, but this one won't. Thanks,
Josef
| |