summaryrefslogtreecommitdiff
path: root/editors/conglomerate
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-06-30 17:03:38 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-06-30 17:03:38 +0000
commit5833943e79a5398117d17313c76acd53ab843d57 (patch)
tree05bcbd5baa22c73c213397e5110d2a6279377442 /editors/conglomerate
parentUpdate to 0.4.0. (diff)
Fix a potential NULL pointer dereference.
Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=83908
Diffstat (limited to 'editors/conglomerate')
-rw-r--r--editors/conglomerate/Makefile1
-rw-r--r--editors/conglomerate/files/patch-src-plugin-website.c17
2 files changed, 18 insertions, 0 deletions
diff --git a/editors/conglomerate/Makefile b/editors/conglomerate/Makefile
index 407af43126a2..5ec1f81653fd 100644
--- a/editors/conglomerate/Makefile
+++ b/editors/conglomerate/Makefile
@@ -6,6 +6,7 @@
PORTNAME= conglomerate
PORTVERSION= 0.5.4
+PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/editors/conglomerate/files/patch-src-plugin-website.c b/editors/conglomerate/files/patch-src-plugin-website.c
new file mode 100644
index 000000000000..6d207f4dfb92
--- /dev/null
+++ b/editors/conglomerate/files/patch-src-plugin-website.c
@@ -0,0 +1,17 @@
+--- src/plugin-website.c.orig Sun May 25 11:59:33 2003
++++ src/plugin-website.c Mon Jun 30 16:28:24 2003
+@@ -390,12 +390,12 @@
+ {
+ const CongXMLChar* dtd_public_id = cong_document_get_dtd_public_identifier(doc);
+
+- g_message(dtd_public_id);
+-
+ if (NULL==dtd_public_id) {
+ return FALSE;
+ }
+
++ g_message(dtd_public_id);
++
+ /* Only relevant for Doctype with public ID = "" */
+ if (0==strcmp(dtd_public_id,"-//Norman Walsh//DTD Website Layout V2.4.0//EN")) {
+ return TRUE;