Re: Issue in man page sscanf.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Helge,

On Sun, Nov 17, 2024 at 10:46:23AM GMT, Helge Kreutzmann wrote:
> Without further ado, the following was found:
> 
> Issue:    Why is "Undefined Behaviour" capitalized?
> 
> "Use of the numeric conversion specifiers produces Undefined Behavior for "
> "invalid input.  See E<.UR https://port70.net/\\:%7Ensz/\\:c/\\:c11/\\:n1570.";
> "html\\:#7.21.6.2p10> C11 7.21.6.2/10 E<.UE .> This is a bug in the ISO C "
> "standard, and not an inherent design issue with the API.  However, current "
> "implementations are not safe from that bug, so it is not recommended to use "
> "them.  Instead, programs should use functions such as B<strtol>(3)  to parse "
> "numeric input.  Alternatively, mitigate it by specifying a maximum field "
> "width."

Fixed.  Thanks!

Cheers,
Alex

-- 
<https://www.alejandro-colomar.es/>

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux