Re: [PATCH] 9pfs/proxy: Check return value of proxy_marshal()

2021-01-21 Thread Greg Kurz
On Mon, 11 Jan 2021 10:49:56 +0100 Greg Kurz wrote: > This should always successfully write exactly two 32-bit integers. > Make it clear with an assert(), like v9fs_receive_status() and > v9fs_receive_response() already do when unmarshalling the same > header. > > Fixes: Coverity CID 1438968 > S

Re: [PATCH] 9pfs/proxy: Check return value of proxy_marshal()

2021-01-14 Thread Greg Kurz
On Mon, 11 Jan 2021 14:15:17 +0100 Christian Schoenebeck wrote: > On Montag, 11. Januar 2021 10:49:56 CET Greg Kurz wrote: > > This should always successfully write exactly two 32-bit integers. > > Make it clear with an assert(), like v9fs_receive_status() and > > v9fs_receive_response() already

Re: [PATCH] 9pfs/proxy: Check return value of proxy_marshal()

2021-01-11 Thread Christian Schoenebeck via
On Montag, 11. Januar 2021 10:49:56 CET Greg Kurz wrote: > This should always successfully write exactly two 32-bit integers. > Make it clear with an assert(), like v9fs_receive_status() and > v9fs_receive_response() already do when unmarshalling the same > header. > > Fixes: Coverity CID 1438968