Revision: 395 Author: ntrel Date: 2006-06-02 13:23:38 -0700 (Fri, 02 Jun 2006) ViewCVS: http://svn.sourceforge.net/geany/?rev=395&view=rev
Log Message: ----------- Fix a segfault with missing id in element (again)
Modified Paths: -------------- trunk/ChangeLog trunk/tagmanager/docbook.c Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2006-06-02 20:01:57 UTC (rev 394) +++ trunk/ChangeLog 2006-06-02 20:23:38 UTC (rev 395) @@ -7,6 +7,7 @@
* src/dialogs.c: Fix dialog path warnings for command-line files. * src/callbacks.c: Fix Go to tag declaration/definition. + * tagmanager/docbook.c: Fix a segfault with missing id in element.
2006-05-31 Nick Treleaven nick.treleaven@btinternet.com
Modified: trunk/tagmanager/docbook.c =================================================================== --- trunk/tagmanager/docbook.c 2006-06-02 20:01:57 UTC (rev 394) +++ trunk/tagmanager/docbook.c 2006-06-02 20:23:38 UTC (rev 395) @@ -68,6 +68,7 @@ if (*buf == '>') return;
buf = strstr(buf, "id=""); + if (buf == NULL) return; buf += 4; if (*buf == '"') return; name = vStringNew();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.