rpms/nspluginwrapper/F-12 nspluginwrapper-1.3.0-inst.patch, NONE, 1.1 nspluginwrapper.spec, 1.81, 1.82
Martin Stransky
stransky at fedoraproject.org
Tue Nov 10 09:24:36 UTC 2009
Author: stransky
Update of /cvs/pkgs/rpms/nspluginwrapper/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17045
Modified Files:
nspluginwrapper.spec
Added Files:
nspluginwrapper-1.3.0-inst.patch
Log Message:
Resolves: #531669
nspluginwrapper-1.3.0-inst.patch:
npw-common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE nspluginwrapper-1.3.0-inst.patch ---
diff -up nspluginwrapper-1.3.0/src/npw-common.h.old nspluginwrapper-1.3.0/src/npw-common.h
--- nspluginwrapper-1.3.0/src/npw-common.h.old 2009-01-02 15:22:29.000000000 +0100
+++ nspluginwrapper-1.3.0/src/npw-common.h 2009-11-10 09:58:34.000000000 +0100
@@ -115,7 +115,7 @@ npw_plugin_instance_is_valid(void *ptr)
static inline NPW_PluginInstance *
_npw_get_plugin_instance (NPP instance)
{
- return (NPW_PluginInstance *)instance->_NPW_INSTANCE_PRIVATE_DATA;
+ return instance ? (NPW_PluginInstance *)instance->_NPW_INSTANCE_PRIVATE_DATA : NULL;
}
static inline NPW_PluginInstance *
Index: nspluginwrapper.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nspluginwrapper/F-12/nspluginwrapper.spec,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -p -r1.81 -r1.82
--- nspluginwrapper.spec 25 Jul 2009 19:33:35 -0000 1.81
+++ nspluginwrapper.spec 10 Nov 2009 09:24:36 -0000 1.82
@@ -73,7 +73,7 @@
Summary: A compatibility layer for Netscape 4 plugins
Name: nspluginwrapper
Version: 1.3.0
-Release: 8%{?dist}
+Release: 9%{?dist}
Source0: %{name}-%{version}%{?svndate:-%{svndate}}.tar.bz2
Source1: %{plugin_config_name}.tar.gz
Source2: plugin-config.sh.in
@@ -82,6 +82,7 @@ Patch1: nspluginwrapper-1.3.0-ma
Patch2: nspluginwrapper-1.3.0-configure.patch
Patch3: nspluginwrapper-1.3.0-directory.patch
Patch4: nspluginwrapper-20090625-fix-npident-array-sending.patch
+Patch5: nspluginwrapper-1.3.0-inst.patch
Patch100: plugin-config-setuid.patch
Patch101: plugin-config-umask.patch
Patch102: plugin-config-print.patch
@@ -115,6 +116,7 @@ This package consists in:
%patch2 -p1 -b .conf
%patch3 -p1 -b .dir
%patch4 -p0 -b .array
+%patch5 -p1 -b .inst
# Plugin-config patches
pushd %plugin_config_name
@@ -246,6 +248,9 @@ fi;
%changelog
+* Tue Nov 10 2009 Martin Stransky <stransky at redhat.com> 1.3.0-9
+- added NULL check (#531669)
+
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
More information about the scm-commits
mailing list