Menu

Bug?

2011-07-16
2013-01-28
  • Nobody/Anonymous

    Hi,

    IMHO there is a bug in system.c setfan_ibm().

    if (unlikely(write(ibm_fan, buf, 8) != 8))

    the buflen is assumed to be always 8, but if the buffer contains "level disengaged" that is not the case

    Jan

     
  • Victor Mataré

    Victor Mataré - 2011-07-16

    yep, that looks very much like I'm cutting the string there. Ok, 0.7.2 is on the way…

     
  • Victor Mataré

    Victor Mataré - 2011-07-16

    fixed and 0.7.2 is out. Very well spotted, thanks a lot.

     
MongoDB Logo MongoDB