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

Bug#571754: strftime("%c") crashes in (some) locations



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hello Bart,

Am Mo den  1. Mär 2010 um 15:13 schrieb Bart Martens:
> This is the example in "man strptime":
[...]
> As we can see, there's no "memset" initializing the entire tm structure.
> It would be nice to have a "memset" added in this example, to illustrate
> the text "that tm should be initialized before the call".

I can support this. Would be very helpful. It should be easy to do the
change in the man page only but a note to the upstream could be useful
as well to share that to other distributions too.

I would also note in the description of the tm struct that they could be
other members not listen in the man page. Otherwise some could see it a
way to initialize all listed members explicit.

Regards
   Klaus
- -- 
Klaus Ethgen                            http://www.ethgen.de/
pub  2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <Klaus@Ethgen.de>
Fingerprint: D7 67 71 C4 99 A6 D4 FE  EA 40 30 57 3C 88 26 2B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEVAwUBS4vo65+OKpjRpO3lAQr+Bwf/SLZhXDe9RuHZya73WDRkxPBHAXSE2YEU
AEKgO/P4buyHNvh7HSCIFHqgXh/tN3JUMW2CXnTdsB9A/e5ZFLAfltewmIFf8w8g
wLHIobaQU8LT4pluUxOwFh7OiDafAeJ2y5BQEcAxre/C9LDI/AJytiSj6W5+XH/w
OBZjAeuFsa0U3Fx6uXhpPEwK494eblJwcpejhhIpWTDWUvOZ+EP298yS/jNMEQlG
xFTk4Nvjkj1v5cNEYZXhfMfsdf3mC/dvTyhg+h/DaQ1zLAhAHgQeCHpSSf4JtA+y
BKZiIW/i+xeirdIJTRBxsoDrrTrrkM2CTBEzCmMThQX6dnurQQKX2w==
=s4/0
-----END PGP SIGNATURE-----



Reply to: