20 Aug, 2014

1 commit

  • These multiplications are done with 32-bit arithmetic, then converted to
    64-bit. We should widen the integers first to prevent overflow. This
    could be a problem for large (>4GB) MTD's.

    Detected by Coverity.

    Signed-off-by: Brian Norris
    Cc: Akinobu Mita

    Brian Norris
     

31 Aug, 2013

3 commits