* [patch 01/31] Fix another NULL pointer deref in ipv6_sockglue.c
@ 2007-03-19 21:34 Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2007-03-19 21:34 UTC (permalink / raw)
To: linux-kernel, stable
Cc: Justin Forbes, Zwane Mwaikambo, Theodore Ts'o, Randy Dunlap,
Dave Jones, Chuck Wolber, Chris Wedgwood, Michael Krufky,
Chuck Ebbert, torvalds, akpm, alan, bunk, Olaf Kirch,
David S. Miller
[-- Attachment #1: fix-another-null-pointer-deref-in-ipv6_sockglue.c.patch --]
[-- Type: text/plain, Size: 886 bytes --]
-stable review patch. If anyone has any objections, please let us know.
------------------
From: Olaf Kirch <olaf.kirch@oracle.com>
[IPV6]: Fix for ipv6_setsockopt NULL dereference
I came across this bug in http://bugzilla.kernel.org/show_bug.cgi?id=8155
Signed-off-by: Olaf Kirch <olaf.kirch@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
net/ipv6/ipv6_sockglue.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/net/ipv6/ipv6_sockglue.c
+++ b/net/ipv6/ipv6_sockglue.c
@@ -414,7 +414,7 @@ static int do_ipv6_setsockopt(struct soc
}
/* routing header option needs extra check */
- if (optname == IPV6_RTHDR && opt->srcrt) {
+ if (optname == IPV6_RTHDR && opt && opt->srcrt) {
struct ipv6_rt_hdr *rthdr = opt->srcrt;
switch (rthdr->type) {
case IPV6_SRCRT_TYPE_0:
--
^ permalink raw reply [flat|nested] 2+ messages in thread[parent not found: <20070319213047.710101653@mini.kroah.org>]
* [patch 00/31] 2.6.20-stable review
@ 2007-03-19 21:36 ` Greg KH
2007-03-19 21:37 ` [patch 01/31] Fix another NULL pointer deref in ipv6_sockglue.c Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Greg KH @ 2007-03-19 21:36 UTC (permalink / raw)
To: linux-kernel, stable
Cc: Justin Forbes, Zwane Mwaikambo, Theodore Ts'o, Randy Dunlap,
Dave Jones, Chuck Wolber, Chris Wedgwood, Michael Krufky,
Chuck Ebbert, torvalds, akpm, alan
This is the start of the stable review cycle for the 2.6.20.4 release.
There are 31 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let us know. If anyone is a maintainer of the proper subsystem, and
wants to add a Signed-off-by: line to the patch, please respond with it.
These patches are sent out with a number of different people on the
Cc: line. If you wish to be a reviewer, please email stable@kernel.org
to add your name to the list. If you want to be off the reviewer list,
also email us.
Responses should be made by Thursday March, 22, 15:00:00 UTC.
Anything received after that time might be too late.
thanks,
the -stable release team
^ permalink raw reply [flat|nested] 2+ messages in thread
* [patch 01/31] Fix another NULL pointer deref in ipv6_sockglue.c
2007-03-19 21:36 ` [patch 00/31] 2.6.20-stable review Greg KH
@ 2007-03-19 21:37 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2007-03-19 21:37 UTC (permalink / raw)
To: linux-kernel, stable
Cc: Justin Forbes, Zwane Mwaikambo, Theodore Ts'o, Randy Dunlap,
Dave Jones, Chuck Wolber, Chris Wedgwood, Michael Krufky,
Chuck Ebbert, torvalds, akpm, alan, bunk, Olaf Kirch,
David S. Miller
[-- Attachment #1: fix-another-null-pointer-deref-in-ipv6_sockglue.c.patch --]
[-- Type: text/plain, Size: 886 bytes --]
-stable review patch. If anyone has any objections, please let us know.
------------------
From: Olaf Kirch <olaf.kirch@oracle.com>
[IPV6]: Fix for ipv6_setsockopt NULL dereference
I came across this bug in http://bugzilla.kernel.org/show_bug.cgi?id=8155
Signed-off-by: Olaf Kirch <olaf.kirch@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
net/ipv6/ipv6_sockglue.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/net/ipv6/ipv6_sockglue.c
+++ b/net/ipv6/ipv6_sockglue.c
@@ -414,7 +414,7 @@ static int do_ipv6_setsockopt(struct soc
}
/* routing header option needs extra check */
- if (optname == IPV6_RTHDR && opt->srcrt) {
+ if (optname == IPV6_RTHDR && opt && opt->srcrt) {
struct ipv6_rt_hdr *rthdr = opt->srcrt;
switch (rthdr->type) {
case IPV6_SRCRT_TYPE_0:
--
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-03-19 21:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-19 21:34 [patch 01/31] Fix another NULL pointer deref in ipv6_sockglue.c Greg KH
[not found] <20070319213047.710101653@mini.kroah.org>
2007-03-19 21:36 ` [patch 00/31] 2.6.20-stable review Greg KH
2007-03-19 21:37 ` [patch 01/31] Fix another NULL pointer deref in ipv6_sockglue.c Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox