Web lists-archives.com

Re: [Mingw-users] Secure crt functions not in header files




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 25/05/17 16:44, John Brown wrote:
> I see that functions such as printf_s described at
> https://docs.microsoft.com/en-us/cpp/c-runtime-library/security-features-in-the-crt
> are present in /mingw/lib/libmsvcr80.a but I cannot find them in any 
> MinGW header file (at least not in /mingw/include/*.h). Is there a
> particular reason for that?

Perhaps because no one has been sufficiently taken in by Microsoft's 
lies, (in what way do such functions provide added security?  What user 
authentication mechanisms do they provide?), to be bothered to submit 
patches to add them.

Realistically, the only security related aspect of the majority of such 
functions is that they secure an increased level of Microsoft lock-in; I 
am not enthusiastic about encouraging their use.

- -- 
Regards,
Keith.

Public key available from keys.gnupg.net
Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iQIcBAEBAgAGBQJZJxgnAAoJEMCtNsY0flo/DAAP/0Kng+xz2JJAaHkDaHZDhAKG
ohDWm/Mcr2Qw8KXVnCm7JOuFUPg82ck2TlD0QbJQkpgbdwbg9DTJVcyLxaap9eVs
Bfjx3vZMXUGdIBbJNNvX3UykjjVomw+4q4RkqNJoBtkbdrwM/L+9WMwcc5mGYFIm
PgKtwCKtyLewXrxgQJqR3DeBGu7AEgkrPkYrKOz4RSmfBmKsqwGr/FrpL0vLgHLm
LXkThkeWnmR43+FhLdS7GWa6QU6vbinnHRFfh1jwBBom+oQzfkoLEbMOt5jmtmMy
TOg8u+q187/B9Jg37cgg6v3rAoR7pg4QYDwBufItQXqjnr0WatmzyuHOMS4FJ6Q6
4AW+0puZKZZd8J4XDXkCjF1o6Qd1qwnN31auXCJd1+nkBgLw8S0pBkb1scsvn/hW
oayCaCmk6uRtF0ZWmvshFQRJyufi/Ood3SL3rhIN3HjiQw1v0VPOcy9r3c/U7Jje
5Q960v+IuccBcdFUxcNgru4O8hm71qpXItKYciJWhB/gX7BTxXoK5rHhrSO7jnHI
gMJ9W56eG+htd2SVO2tzvHCGvbzbY2gbvGQWkHvf7p7AXaaw5PtZ43zbvyepzdou
GLuFnO28o+9cOME1OvXmHHWeiDbsLjCw6yKM8qsojiG68kCY0tSAvG+quOvMnAyo
pUfrKQAysBhoN6y6h5pd
=wrSZ
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe