Re: [PATCH 8/12] openssh-4.3p2 return code check bugs

This is a discussion on Re: [PATCH 8/12] openssh-4.3p2 return code check bugs within the OpenSSH Development forums, part of the Networking and Network Related category; On Mon, May 15, 2006 at 03:19:17PM -0500, Kylene Jo Hall wrote: > The get_handle function can return ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-16-2006
Markus Friedl
 
Posts: n/a
Default Re: [PATCH 8/12] openssh-4.3p2 return code check bugs

On Mon, May 15, 2006 at 03:19:17PM -0500, Kylene Jo Hall wrote:
> The get_handle function can return a negative value. The variable that
> value is assigned to is eventually passed to handle_close which uses the
> value as an array index thus not being able to handle negative values.
> This patch adds the return code check and provides an appropriate error
> exit in the event of a negative return code. This entire set of patches
> passed the regression tests on my system. Bugs found by Coverity.


i'm not sure about this one. we always call handle_is_ok()
after get_handle(), so an error is sent back in any case.

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://www.mindrot.org/mailman/listi...enssh-unix-dev
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:10 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0