[PATCH] check return value of fetch_block (Coverity)
fgouget at free.fr
Wed Feb 20 19:34:05 CST 2008
On Tue, 19 Feb 2008, Marcus Meissner wrote:
> Coverity seems not to show it anymore, but it is still there.
> hdr can be NULL.
> @@ -425,6 +425,8 @@ void lnk_dump(void)
> offset = 0;
> hdr = fetch_block();
> + if (!hdr)
> + return;
Francois Gouget <fgouget at free.fr> http://fgouget.free.fr/
"Only wimps use tape backup: _real_ men just upload their important stuff on
ftp, and let the rest of the world mirror it ;)" -- Linus Torvalds
More information about the wine-patches