diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-04-05 09:26:08 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-04-05 09:26:08 +0800 |
commit | 1b49cc2287fb41b40212160a1cc07a2c6d37025f (patch) | |
tree | d53c08e3b518a223c6896a2ff0be2648718cf6b7 /ports-mgmt | |
parent | 3c6eb07b808957ea5feffc4cb3b4c310a3e8d09f (diff) | |
download | marcuscom-ports-1b49cc2287fb41b40212160a1cc07a2c6d37025f.tar marcuscom-ports-1b49cc2287fb41b40212160a1cc07a2c6d37025f.tar.gz marcuscom-ports-1b49cc2287fb41b40212160a1cc07a2c6d37025f.tar.bz2 marcuscom-ports-1b49cc2287fb41b40212160a1cc07a2c6d37025f.tar.lz marcuscom-ports-1b49cc2287fb41b40212160a1cc07a2c6d37025f.tar.xz marcuscom-ports-1b49cc2287fb41b40212160a1cc07a2c6d37025f.tar.zst marcuscom-ports-1b49cc2287fb41b40212160a1cc07a2c6d37025f.zip |
Fix access of uninitialized memory which led to a crash.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14019 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/packagekit/Makefile | 3 | ||||
-rw-r--r-- | ports-mgmt/packagekit/files/patch-src_pk-backend-spawn.c | 11 |
2 files changed, 13 insertions, 1 deletions
diff --git a/ports-mgmt/packagekit/Makefile b/ports-mgmt/packagekit/Makefile index ebef413c3..48669d380 100644 --- a/ports-mgmt/packagekit/Makefile +++ b/ports-mgmt/packagekit/Makefile @@ -3,10 +3,11 @@ # Whom: Anders F Bjorklund <afb@users.sourceforge.net> # # $FreeBSD$ -# $MCom: ports/ports-mgmt/packagekit/Makefile,v 1.17 2010/03/04 14:53:35 kwm Exp $ +# $MCom: ports/ports-mgmt/packagekit/Makefile,v 1.18 2010/03/30 11:59:14 kwm Exp $ PORTNAME= PackageKit PORTVERSION= 0.6.3 +PORTREVISION= 1 CATEGORIES= ports-mgmt sysutils MASTER_SITES= http://www.packagekit.org/releases/ diff --git a/ports-mgmt/packagekit/files/patch-src_pk-backend-spawn.c b/ports-mgmt/packagekit/files/patch-src_pk-backend-spawn.c new file mode 100644 index 000000000..aed5477c9 --- /dev/null +++ b/ports-mgmt/packagekit/files/patch-src_pk-backend-spawn.c @@ -0,0 +1,11 @@ +--- src/pk-backend-spawn.c.orig 2010-04-04 21:23:33.000000000 -0400 ++++ src/pk-backend-spawn.c 2010-04-04 21:22:08.000000000 -0400 +@@ -674,7 +674,7 @@ pk_backend_spawn_get_envp (PkBackendSpaw + gchar *line; + gchar *uri; + gchar *eulas; +- gchar *transaction_id; ++ gchar *transaction_id = NULL; + guint i; + GPtrArray *array; + gboolean ret; |