lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080831.000357.70223885.anemo@mba.ocn.ne.jp>
Date:	Sun, 31 Aug 2008 00:03:57 +0900 (JST)
From:	Atsushi Nemoto <anemo@....ocn.ne.jp>
To:	david@...es.net
Cc:	linux-kernel@...r.kernel.org, p_gortmaker@...oo.com,
	netdev@...r.kernel.org
Subject: Re: [PATCH 1/2] ne.c fix for hibernate and rmmod oops fix

On Fri, 29 Aug 2008 21:44:25 -0500, David Fries <david@...es.net> wrote:
> +	if (!strcmp(res->name, BAD_STR))
> +		dev->mem_end = BAD;

The res->name might be NULL.  You should check it first.

	if (res->name && !strcmp(res->name, BAD_STR))
		dev->mem_end = BAD;

---
Atsushi Nemoto
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ