06 May, 2017

1 commit

  • The evaluation of option -c is incorrect:

    According to the C99 standard endptr in the first strtol is always
    set as &endptr is not NULL.
    So the first part of the or condition is always true.
    If all digits in optarg are valid endptr will point to the closing \0
    and the second strtol will read beyond the end of the string optarg
    points to.

    Signed-off-by: Heinrich Schuchardt
    Acked-by: Boris Brezillon

    xypron.glpk@gmx.de
     

07 Apr, 2017

1 commit

  • This program generates raw SPL images that can be flashed on the NAND with
    the ECC and randomizer properly set up.

    This has been copied (and tweaked to find the right headers) from the
    sunxi-tools (https://github.com/linux-sunxi/sunxi-tools) upstream
    repository, commit 1c3a6ca5.

    Signed-off-by: Maxime Ripard
    Acked-by: Boris Brezillon
    Reviewed-by: Hans de Goede
    Reviewed-by: Jagan Teki

    Maxime Ripard