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]
Date:	Mon, 22 Jan 2007 13:39:40 +0100
From:	Thomas Graf <tgraf@...g.ch>
To:	Patrick McHardy <kaber@...sh.net>
Cc:	Noriaki TAKAMIYA <takamiya@...ntts.co.jp>, netdev@...r.kernel.org,
	usagi-core@...ux-ipv6.org
Subject: Re: [PATCH] [IPV6] fixed the size of the netlink message notified by inet6_rt_notify().

* Patrick McHardy <kaber@...sh.net> 2007-01-17 13:33
> [NETLINK]: Don't BUG on undersized allocations
> 
> Currently netlink users BUG when the allocated skb for an event
> notification is undersized. While this is certainly a kernel bug,
> its not critical and crashing the kernel is too drastic, especially
> when considering that these errors have appeared multiple times in
> the past and it BUGs even if no listeners are present.
> 
> This patch replaces BUG by WARN_ON and changes the notification
> functions to inform potential listeners of undersized allocations
> using a unique error code (EMSGSIZE).

I perfectly agree, thanks a lot Patrick.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ