login
Header Space

 
 

Re: [PATCH] Ensure return value from xread() is always stored into an ssize_t

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dana How <danahow@...>
Cc: <git@...>, Paolo Teti <paolo.teti@...>
Date: Tuesday, May 15, 2007 - 12:21 pm

On Tuesday 15 May 2007, Dana How wrote:

Yes. AFAICS it was appropriate in the given context.
I.e. in both cases the int was used as an positive offset/size, and
although its value was altered by the ssize_t returned from xread(),
the ssize_t was always verified to be >= 0 before being added to the int.


Have fun!

...Johan




-- 
Johan Herland, <johan@herland.net>
www.herland.net
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Fix signedness on return value from xread(), Johan Herland, (Tue May 15, 8:39 am)
Re: [PATCH] Fix signedness on return value from xread(), Shawn O. Pearce, (Tue May 15, 7:24 pm)
Re: [PATCH] Ensure return value from xread() is always store..., Johan Herland, (Tue May 15, 12:21 pm)
speck-geostationary