Incidencia #15209

md5でバイトオーダーが考慮されていませんでした
Abrir Fecha: 2009-02-24 16:28 Última actualización: 2009-03-23 00:38

Informador:
(Anónimo)
Propietario:
Tipo:
Estado:
Cerrado
Componente:
(Ninguno)
Hito:
(Ninguno)
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Fixed
Fichero:
Ninguno

Details

clx/md5.h
MacOSX環境で試したところmd5の計算値が間違っていることに気がつきました。
IntelMac(Little Endian)とWindowsでは正しい計算をしますが、PowerPCMac(Big Endian)では間違っていました。ハッシュの計算でCPUのバイトオーダーを考慮してないことが原因のようです。

未検証ですが、sha1にも同様の問題があるかもしれません。
週末、うまく修正できたらご連絡します。

かねたか

Ticket History (3/3 Histories)

2009-03-03 12:11 Updated by: cielquis
Comentario
バグ報告ありがとうございます.

Endian 問題に関する修正方針は,フォーラムの開発者メモの方に記述しましたので,良ければご覧下さい.
http://sourceforge.jp/forum/message.php?msg_id=42272

できるだけ早期に修正を行う予定ですが,当方にはテスト環境が存在しないため,未テストの状態でのリリースになると思います.修正後に,また何か問題がありましたらお知らせ下さい.
2009-03-17 13:31 Updated by: cielquis
  • Resolución Update from Ninguno to Fixed
  • Propietario Update from (Ninguno) to cielquis
2009-03-23 00:38 Updated by: cielquis
  • Estado Update from Open to Cerrado

Attachment File List

No attachments

Editar

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Entrar