Skip to content

xstrtol() fixes

Alejandro Colomar liba2i 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xstrtol: Correctly handle an invalid baselib/xstrtol.c+21 -142 replies
2/2xstrtol: Add defensive check against undocumented errorslib/xstrtol.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/2] xstrtol() fixes

Hi Paul,

This patch set --hopefully; writing calls to strtol(3) is a PITA-- fixes the remaining issues I've observed in xstrtol().

Have a lovely day!
Alex

Alejandro Colomar (2):
xstrtol: Correctly handle an invalid base
xstrtol: Add defensive check against undocumented errors

 lib/xstrtol.c | 35 +++++++++++++++++++++--------------
 1 file changed, 21 insertions(+), 14 deletions(-)

Range-diff against v0:

-:  ---------- > 1:  9345449d79 xstrtol: Correctly handle an invalid base
-:  ---------- > 2:  d1836c207a xstrtol: Add defensive check against undocumented errors
Signature · 1 line
2.45.2