Raphael Hertzog <[email protected]> (22/07/2010): > > Unless I'm missing something, the “increment” part is processed > > before the condition is checked, meaning one can happily > > dereference sl without checking for its being non-0. > > Except that if "sl" is NULL from the start, the loop is not executed.
(There's no “except”. One *can*. I didn't write “one will necessarily will”.) > Can you verify if the attached patch is enough? Yes (and yes). Mraw, KiBi.
signature.asc
Description: Digital signature

