Revision: 4536 http://geany.svn.sourceforge.net/geany/?rev=4536&view=rev Author: ntrel Date: 2010-01-22 16:23:12 +0000 (Fri, 22 Jan 2010)
Log Message: ----------- Prevent possible segfault in get_build_group().
Modified Paths: -------------- trunk/ChangeLog trunk/src/build.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2010-01-19 15:48:42 UTC (rev 4535) +++ trunk/ChangeLog 2010-01-22 16:23:12 UTC (rev 4536) @@ -1,3 +1,9 @@ +2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com> + + * src/build.c: + Prevent possible segfault in get_build_group(). + + 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/plugins.dox:
Modified: trunk/src/build.c =================================================================== --- trunk/src/build.c 2010-01-19 15:48:42 UTC (rev 4535) +++ trunk/src/build.c 2010-01-22 16:23:12 UTC (rev 4536) @@ -427,7 +427,7 @@ } break; case GEANY_GBG_EXEC: - if ((doc = document_get_current()) == NULL) + if ((doc = document_get_current()) != NULL) ft = doc->file_type; switch (src) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.