Je suis justement en train de relire les "C coding standards" de notre fournisseur (équipementier aéronautique), et voici ce qu'on peut y trouver (entre autre) dans le chapitre "Security Related" :
The following library functions shall not be used: strcpy(), strcat(), sprintf (), and gets().
En théorie, la théorie et la pratique c'est pareil. En pratique c'est pas vrai.
# Il y en a qui le font !
Posté par gUI (Mastodon) . En réponse au journal Banni de chez Microsoft.. Évalué à 6.
The following library functions shall not be used: strcpy(), strcat(), sprintf (), and gets().
En théorie, la théorie et la pratique c'est pareil. En pratique c'est pas vrai.