[Dune] [#823] ConfigParser and ParameterTree segfault when accessing an inexistent subtree

Dune flyspray at dune-project.org
Thu Sep 23 10:04:52 CEST 2010


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Christian Engwer (christi) 

Attached to Project - Dune
Summary - ConfigParser and ParameterTree segfault when accessing an inexistent subtree
Task Type - Bug Report
Category - Common
Status - New
Assigned To - 
Operating System - Unspecified / All
Severity - Low
Priority - Normal
Reported Version - 2.0
Due in Version - 2.1
Due Date - Undecided
Details - There is no check for the existence of a subtree. If I get a subtree object for an inexistent subtree and then try to get a value I receive a segfault.

I boiled tis problem down to missing checks and updated the dune/common/test/paramtreetest accordingly. There are two non-detected errors:
- I can access inexistent subtrees
- I can access keys as subtrees

I guess this is all more or less the same problem.

Christian

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=823

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list