xn-todos broken


I finally got a chance to test the changes to xn-todos. Somehow they've broken something. I get a segfault on todos.description in the read_file() function, line 487. I may look at this at work, but I can't test it till I get home.


—-
10:41AM
Found some bugs related to malloc'd storage. I wasn't allocating enough storage for the category value plus the XML tags that go around it. I was just allocating for the value. This is likely the bug that caused the crash, though I won't know till I get home to test it.

Related posts