* Re: [PATCH 6/8] xfs: fix unsigned underflow
@ 2010-07-20 19:35 ` Alex Elder
0 siblings, 0 replies; 15+ messages in thread
From: Alex Elder @ 2010-07-20 19:35 UTC (permalink / raw)
To: Kulikov Vasiliy; +Cc: Christoph Hellwig, kernel-janitors, linux-kernel, xfs
On Thu, 2010-07-15 at 17:21 -0400, Christoph Hellwig wrote:
> On Thu, Jul 15, 2010 at 10:46:45PM +0400, Kulikov Vasiliy wrote:
> > map_len is unsigned. Checking map_len <= 0 is buggy when it should be
> > below zero. So, check exact expression instead of map_len.
> >
> > Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
>
> Looks good,
>
> Reviewed-by: Christoph Hellwig <hch@lst.de>
>
Looks good to me too. Do you want me to pull this
in via the XFS tree, or do you have other plans?
-Alex
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 6/8] xfs: fix unsigned underflow
@ 2010-07-20 19:35 ` Alex Elder
0 siblings, 0 replies; 15+ messages in thread
From: Alex Elder @ 2010-07-20 19:35 UTC (permalink / raw)
To: Kulikov Vasiliy; +Cc: Christoph Hellwig, kernel-janitors, linux-kernel, xfs
On Thu, 2010-07-15 at 17:21 -0400, Christoph Hellwig wrote:
> On Thu, Jul 15, 2010 at 10:46:45PM +0400, Kulikov Vasiliy wrote:
> > map_len is unsigned. Checking map_len <= 0 is buggy when it should be
> > below zero. So, check exact expression instead of map_len.
> >
> > Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
>
> Looks good,
>
> Reviewed-by: Christoph Hellwig <hch@lst.de>
>
Looks good to me too. Do you want me to pull this
in via the XFS tree, or do you have other plans?
-Alex
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 6/8] xfs: fix unsigned underflow
2010-07-20 19:35 ` Alex Elder
(?)
@ 2010-07-20 20:21 ` Vasiliy Kulikov
-1 siblings, 0 replies; 15+ messages in thread
From: Vasiliy Kulikov @ 2010-07-20 20:21 UTC (permalink / raw)
To: Alex Elder; +Cc: Christoph Hellwig, kernel-janitors, linux-kernel, xfs
On Tue, Jul 20, 2010 at 14:35 -0500, Alex Elder wrote:
> On Thu, 2010-07-15 at 17:21 -0400, Christoph Hellwig wrote:
> > On Thu, Jul 15, 2010 at 10:46:45PM +0400, Kulikov Vasiliy wrote:
> > > map_len is unsigned. Checking map_len <= 0 is buggy when it should be
> > > below zero. So, check exact expression instead of map_len.
> > >
> > > Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
> >
> > Looks good,
> >
> > Reviewed-by: Christoph Hellwig <hch@lst.de>
> >
>
> Looks good to me too. Do you want me to pull this
> in via the XFS tree, or do you have other plans?
Yes, pull it please.
>
> -Alex
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 6/8] xfs: fix unsigned underflow
@ 2010-07-20 20:21 ` Vasiliy Kulikov
0 siblings, 0 replies; 15+ messages in thread
From: Vasiliy Kulikov @ 2010-07-20 20:21 UTC (permalink / raw)
To: Alex Elder; +Cc: Christoph Hellwig, kernel-janitors, linux-kernel, xfs
On Tue, Jul 20, 2010 at 14:35 -0500, Alex Elder wrote:
> On Thu, 2010-07-15 at 17:21 -0400, Christoph Hellwig wrote:
> > On Thu, Jul 15, 2010 at 10:46:45PM +0400, Kulikov Vasiliy wrote:
> > > map_len is unsigned. Checking map_len <= 0 is buggy when it should be
> > > below zero. So, check exact expression instead of map_len.
> > >
> > > Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
> >
> > Looks good,
> >
> > Reviewed-by: Christoph Hellwig <hch@lst.de>
> >
>
> Looks good to me too. Do you want me to pull this
> in via the XFS tree, or do you have other plans?
Yes, pull it please.
>
> -Alex
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 6/8] xfs: fix unsigned underflow
@ 2010-07-20 20:21 ` Vasiliy Kulikov
0 siblings, 0 replies; 15+ messages in thread
From: Vasiliy Kulikov @ 2010-07-20 20:21 UTC (permalink / raw)
To: Alex Elder; +Cc: Christoph Hellwig, kernel-janitors, linux-kernel, xfs
On Tue, Jul 20, 2010 at 14:35 -0500, Alex Elder wrote:
> On Thu, 2010-07-15 at 17:21 -0400, Christoph Hellwig wrote:
> > On Thu, Jul 15, 2010 at 10:46:45PM +0400, Kulikov Vasiliy wrote:
> > > map_len is unsigned. Checking map_len <= 0 is buggy when it should be
> > > below zero. So, check exact expression instead of map_len.
> > >
> > > Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
> >
> > Looks good,
> >
> > Reviewed-by: Christoph Hellwig <hch@lst.de>
> >
>
> Looks good to me too. Do you want me to pull this
> in via the XFS tree, or do you have other plans?
Yes, pull it please.
>
> -Alex
>
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 6/8] xfs: fix unsigned underflow
2010-07-20 19:35 ` Alex Elder
(?)
@ 2010-07-20 23:12 ` Dave Chinner
-1 siblings, 0 replies; 15+ messages in thread
From: Dave Chinner @ 2010-07-20 23:12 UTC (permalink / raw)
To: Alex Elder
Cc: Christoph Hellwig, kernel-janitors, Kulikov Vasiliy, linux-kernel,
xfs
On Tue, Jul 20, 2010 at 02:35:33PM -0500, Alex Elder wrote:
> On Thu, 2010-07-15 at 17:21 -0400, Christoph Hellwig wrote:
> > On Thu, Jul 15, 2010 at 10:46:45PM +0400, Kulikov Vasiliy wrote:
> > > map_len is unsigned. Checking map_len <= 0 is buggy when it should be
> > > below zero. So, check exact expression instead of map_len.
> > >
> > > Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
> >
> > Looks good,
> >
> > Reviewed-by: Christoph Hellwig <hch@lst.de>
> >
>
> Looks good to me too. Do you want me to pull this
> in via the XFS tree, or do you have other plans?
Already got it, Alex.
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 6/8] xfs: fix unsigned underflow
@ 2010-07-20 23:12 ` Dave Chinner
0 siblings, 0 replies; 15+ messages in thread
From: Dave Chinner @ 2010-07-20 23:12 UTC (permalink / raw)
To: Alex Elder
Cc: Kulikov Vasiliy, Christoph Hellwig, kernel-janitors, linux-kernel,
xfs
On Tue, Jul 20, 2010 at 02:35:33PM -0500, Alex Elder wrote:
> On Thu, 2010-07-15 at 17:21 -0400, Christoph Hellwig wrote:
> > On Thu, Jul 15, 2010 at 10:46:45PM +0400, Kulikov Vasiliy wrote:
> > > map_len is unsigned. Checking map_len <= 0 is buggy when it should be
> > > below zero. So, check exact expression instead of map_len.
> > >
> > > Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
> >
> > Looks good,
> >
> > Reviewed-by: Christoph Hellwig <hch@lst.de>
> >
>
> Looks good to me too. Do you want me to pull this
> in via the XFS tree, or do you have other plans?
Already got it, Alex.
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 6/8] xfs: fix unsigned underflow
@ 2010-07-20 23:12 ` Dave Chinner
0 siblings, 0 replies; 15+ messages in thread
From: Dave Chinner @ 2010-07-20 23:12 UTC (permalink / raw)
To: Alex Elder
Cc: Christoph Hellwig, kernel-janitors, Kulikov Vasiliy, linux-kernel,
xfs
On Tue, Jul 20, 2010 at 02:35:33PM -0500, Alex Elder wrote:
> On Thu, 2010-07-15 at 17:21 -0400, Christoph Hellwig wrote:
> > On Thu, Jul 15, 2010 at 10:46:45PM +0400, Kulikov Vasiliy wrote:
> > > map_len is unsigned. Checking map_len <= 0 is buggy when it should be
> > > below zero. So, check exact expression instead of map_len.
> > >
> > > Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
> >
> > Looks good,
> >
> > Reviewed-by: Christoph Hellwig <hch@lst.de>
> >
>
> Looks good to me too. Do you want me to pull this
> in via the XFS tree, or do you have other plans?
Already got it, Alex.
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 15+ messages in thread