Retourner au contenu associé (dépêche : Découverte d'une faille de sécurité critique dans OpenSSL de Debian)
Posté par IsNotGood le 16 mai 2008 à 03:47. En réponse à la dépêche Découverte d'une faille de sécurité critique dans OpenSSL de Debian. Évalué à 2.
Index: md_rand.c =================================================================== --- md_rand.c (.../rand/md_rand.c) (révision 164) +++ md_rand.c (.../crypto/rand/md_rand.c) (révision 173) @@ -468,11 +468,10 @@ MD_Update(&m,local_md,MD_DIGEST_LENGTH); MD_Update(&m,(unsigned char *)&(md_c[0]),sizeof(md_c)); #ifndef PURIFY -/* - * Don't add uninitialised data. +#if 0 /* Don't add uninitialised data. */ MD_Update(&m,buf,j); /* purify complains */ -*/ #endif +#endif k=(st_idx+MD_DIGEST_LENGTH/2)-st_num; if (k > 0) {
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
[^] # Re: Difficulté de créer un bon générateur de nombres aléatoires (ou
Posté par IsNotGood . En réponse à la dépêche Découverte d'une faille de sécurité critique dans OpenSSL de Debian. Évalué à 2.
Index: md_rand.c===================================================================
--- md_rand.c (.../rand/md_rand.c) (révision 164)
+++ md_rand.c (.../crypto/rand/md_rand.c) (révision 173)
@@ -468,11 +468,10 @@
MD_Update(&m,local_md,MD_DIGEST_LENGTH);
MD_Update(&m,(unsigned char *)&(md_c[0]),sizeof(md_c));
#ifndef PURIFY
-/*
- * Don't add uninitialised data.
+#if 0 /* Don't add uninitialised data. */
MD_Update(&m,buf,j); /* purify complains */
-*/
#endif
+#endif
k=(st_idx+MD_DIGEST_LENGTH/2)-st_num;
if (k > 0)
{