Menu

#333 select() without timeout causing infinite hang

version-1.8.16
closed-fixed
None
5
2015-10-09
2014-07-09
No

Using select() without a timeout will cause select() to hang indefinitely if there's no data. Theoretically there should be data and it shouldn't hang, but reality doesn't care much about theory, a timeout and a proper error message would be nice.

https://sourceforge.net/p/ipmitool/source/ci/master/tree/src/plugins/open/open.c#l324

Discussion

  • Zdenek Styblik

    Zdenek Styblik - 2014-12-21
    • status: open --> open-accepted
    • assigned_to: Zdenek Styblik
    • Group: version-1.8.15 --> version-1.8.16
     
  • Zdenek Styblik

    Zdenek Styblik - 2015-10-09
    • status: open-accepted --> closed-fixed
     
  • Zdenek Styblik

    Zdenek Styblik - 2015-10-09

    Fix has been committed into git. Thanks.

     

Log in to post a comment.

MongoDB Logo MongoDB