Skip to content
  • Ivan Kalvachev's avatar
    · e0eb585a
    Ivan Kalvachev authored
    
    Fix crash on some DVDs
    sprintf(tmp,"%.02x",(char)0xef); would print "ffffffef" instead of "ef"
    in this case this leads to local array buffer overflow and hard to trace stack corruption.
    The quick, easy & dirty solution is to use (unsigned char) or (uint8_t)
    e0eb585a