diff options
author | marcus <marcus@FreeBSD.org> | 2003-07-01 01:03:38 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-07-01 01:03:38 +0800 |
commit | 9c14ae130b2f9fbec479925518181b04fbecb66b (patch) | |
tree | 0344edcf55532e6a435a8e244008fb16035fec5d /editors/conglomerate | |
parent | 61c376e3fe00a546892df7fa3b3b103b0c11e4b9 (diff) | |
download | freebsd-ports-gnome-9c14ae130b2f9fbec479925518181b04fbecb66b.tar.gz freebsd-ports-gnome-9c14ae130b2f9fbec479925518181b04fbecb66b.tar.zst freebsd-ports-gnome-9c14ae130b2f9fbec479925518181b04fbecb66b.zip |
Fix a potential NULL pointer dereference.
Submitted by: maintainer
Diffstat (limited to 'editors/conglomerate')
-rw-r--r-- | editors/conglomerate/Makefile | 1 | ||||
-rw-r--r-- | editors/conglomerate/files/patch-src-plugin-website.c | 17 |
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; |