[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Confuse-devel] Crash when including multi section from a buffer

From: Victor Liu
Subject: [Confuse-devel] Crash when including multi section from a buffer
Date: Mon, 14 Jun 2010 15:16:01 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv: Gecko/20100317 Thunderbird/3.0.4

I have been staring at this bug for a while, and I believe I have ruled out any error on my part. I get a crash when I try to parse a config from a buffer that includes another config file, within which I have a (multi) section with a list option.

From what I can tell from tracing through, it seems like the problem occurs when returning to the original buffer. I am using confuse-2.7. I saw on the mailing lists that a similar problem had been fixed before, but this appears to be more subtle, and the test case in the source distribution does not test for it. The crash only happens if I have a section with CFGF_MULTI, within which I have a list option, in the included file. Without CFGF_MULTI, or without a *_LIST option, I don't get a crash. I have attached the test files I am using.


Attachment: inc.conf
Description: Text document

Attachment: main.c
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]