diff --git a/ChangeLog b/ChangeLog index 86193495..5a076bc9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-12-20 Tatsuhiro Tsujikawa + + Assigned BObject in BDE() to avoid segmentation fault when calling + methods of BDE::none(). + * src/BDE.cc + 2009-12-18 Tatsuhiro Tsujikawa Show info hash in Magnet URI in upper case letters in -S output. diff --git a/src/BDE.cc b/src/BDE.cc index ad6b226e..251f46ea 100644 --- a/src/BDE.cc +++ b/src/BDE.cc @@ -39,7 +39,7 @@ namespace aria2 { const BDE BDE::none; -BDE::BDE():_type(TYPE_NONE) {} +BDE::BDE():_type(TYPE_NONE), _bobject(new BObject()) {} BDE::BDE(Integer integer):_type(TYPE_INTEGER), _bobject(new BInteger(integer)) {}