Ticket #21498

サイズ0のDoubleArrayを保存しようとすると落ちる

Open Date: 2010-04-21 22:54 Last Update: 2010-04-22 02:10

Reporter:
Owner:
Type:
Status:
Closed
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
None

Details

要素を一つも挿入していない状態で、DoubleArray::saveを呼び出すと、segmentation faultが発生する。
要素0の場合は特別扱いする必要がある。

Ticket History (2/2 Histories)

2010-04-21 22:54 Updated by: phjgt
  • New Ticket "サイズ0のDoubleArrayを保存しようとすると落ちる" created
2010-04-22 02:10 Updated by: phjgt
  • Resolution Update from None to Fixed
  • Status Update from Open to Closed
  • Ticket Close date is changed to 2010-04-22 02:10
Comment

r78で修正。

【対応】
・sigsegv発生箇所であったBuilder::build_implの呼び出し前に、要素数のチェックを追加

Attachment File List

No attachments

Edit

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