Outils pour utilisateurs

Outils du site


tech:notes_langage_c

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
tech:notes_langage_c [2025/10/02 20:30] Jean-Baptistetech:notes_langage_c [2026/03/02 17:01] (Version actuelle) Jean-Baptiste
Ligne 10: Ligne 10:
 * https://developers.redhat.com/articles/2024/04/03/improvements-static-analysis-gcc-14-compiler * https://developers.redhat.com/articles/2024/04/03/improvements-static-analysis-gcc-14-compiler
 * [[https://www.developpez.com/actu/40233/C11-la-normalisation-est-achevee-apres-douze-ans-de-travaux-multithreading-et-Unicode-au-menu/|C11 : la normalisation est achevée]] * [[https://www.developpez.com/actu/40233/C11-la-normalisation-est-achevee-apres-douze-ans-de-travaux-multithreading-et-Unicode-au-menu/|C11 : la normalisation est achevée]]
 +* https://pubs.opengroup.org/onlinepubs/009695399/
  
 Voir aussi :  Voir aussi : 
Ligne 88: Ligne 89:
  
  
 +
 +== Sécurité
 +
 +<code ->
 +$ man gets
 +
 +...
 +(DEPRECATED)
 +Never use this function.
 +
 +BUGS
 +       Never  use  gets().   Because  it is impossible to tell without knowing the data in advance how many characters gets() will read, and because gets() will continue to store characters past the end of the
 +       buffer, it is extremely dangerous to use.  It has been used to break computer security.  Use fgets() instead.
 +
 +       For more information, see CWE-242 (aka "Use of Inherently Dangerous Function") at http://cwe.mitre.org/data/definitions/242.html
 +...
 +</code>
tech/notes_langage_c.1759429836.txt.gz · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki