bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 05/29] device/blkio.c (block_io): check if io_count is larger


From: Samuel Thibault
Subject: Re: [PATCH 05/29] device/blkio.c (block_io): check if io_count is larger or equal to zero
Date: Tue, 10 Dec 2013 00:48:26 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Marin Ramesa, le Mon 09 Dec 2013 23:57:20 +0100, a écrit :
> Check if member io_count is non-negative.

Can it really be negative?  I don't see existing functions test for
that, so maybe it should be an unsigned long actually, and it's creators
of ior structures which should make sure they don't stuff negative
values there.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]