* lib/xstrtol.c (__xstrtol): Don't allow strtol_base to be 1.
Copyright-paperwork-exempt: Yes
+2024-07-18 Alejandro Colomar <alx@kernel.org>
+
+ xstrtol: Strengthen sanity check.
+ * lib/xstrtol.c (__xstrtol): Don't allow strtol_base to be 1.
+
2024-07-18 Bruno Haible <bruno@clisp.org>
doc: Document the stack-trace and abort-debug modules.
__strtol_t tmp;
strtol_error err = LONGINT_OK;
- assure (0 <= strtol_base && strtol_base <= 36);
+ assure (0 == strtol_base || (2 <= strtol_base && strtol_base <= 36));
p = (ptr ? ptr : &t_ptr);