Ticket #28467

CIDRチェックがいまいち機能してない(仮)

Date d'ouverture: 2012-05-21 17:22 Dernière mise à jour: 2012-05-21 20:57

Rapporteur:
Propriétaire:
État:
Atteints
Priorité:
8
Sévérité:
8
Résolution:
Fixed
Fichier:
Aucun

Détails

66 :名無しさん@ぜろちゃんねるプラス:2012/05/21(月) 17:05:07.61 ID:hyt6xriMP
    cw43.razil.jp(p2.2ch.net)

67 :名無しさん@ぜろちゃんねるプラス:2012/05/21(月) 17:07:33.67 ID:OUP6tQUk0
    あ

http://yakin.38-ch.net/test/read.cgi/stable/1294667112/66-67n

上がp2.2ch.netで、下がw2鯖
上はちゃんとPになってるけど、下はPになってない

bbs2ch.netで、試しにcidr_listのp2の鯖の順序を入れ替えてみた(w2が先にくるようにした)
そしたら逆にw2がPになって、もう片方が0になった

すさまじくバグの予感^^;

Ticket History (3/5 Histories)

2012-05-21 17:22 Updated by: dekisugi
  • New Ticket "CIDRチェックがいまいち機能してない(仮)" created
2012-05-21 19:41 Updated by: dekisugi
  • Propriétaire Update from (Aucun) to dekisugi
Commentaire
return ( $_ eq $ho ? 1 : 0 ) if ( $_ !~ m|/| );
IP直比較の場合ループを抜けちゃうんだな

by iroiro

rev312,313で修正済

2012-05-21 19:42 Updated by: dekisugi
  • État Update from Ouvert to Atteints
  • Résolution Update from Aucun to Fixed
  • Ticket Close date is changed to 2012-05-21 19:42
2012-05-21 20:41 Updated by: dekisugi
  • Résolution Update from Fixed to Accepted
  • État Update from Atteints to Ouvert
2012-05-21 20:57 Updated by: dekisugi
  • Résolution Update from Accepted to Fixed
  • Ticket Close date is changed to 2012-05-21 20:57
  • État Update from Ouvert to Atteints
Commentaire
CIDRでなく一致しなかった場合
$length='' ≒ $length=1 としてCIDRチェックに突入してしまうなり 

by iroiro

rev314で今度こそ修正済

Attachment File List

No attachments

Modifier

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