Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente |
| tech:notes_langage_c [2025/10/02 20:30] – Jean-Baptiste | tech:notes_langage_c [2026/03/02 17:01] (Version actuelle) – Jean-Baptiste |
|---|
| * 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 : |
| |
| |
| | |
| | == 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> |