diff --git a/blender-2.63a-cve.patch b/blender-2.63a-cve.patch index 90fbc0b..d3ef24a 100644 --- a/blender-2.63a-cve.patch +++ b/blender-2.63a-cve.patch @@ -15,7 +15,7 @@ diff -up blender-2.63a/source/blender/blenkernel/intern/blender.c.cve blender-2. MemFileChunk *chunk; - int file; + int file = -1; -+ int flags = O_BINARY+O_WRONLY+O_CREAT+O_TRUNC; ++ int flags = O_BINARY+O_WRONLY+O_CREAT+O_TRUNC+O_EXCL; char str[FILE_MAX]; if ( (U.uiflag & USER_GLOBALUNDO)==0) return; diff --git a/blender.spec b/blender.spec index 16be9b0..9fb7475 100644 --- a/blender.spec +++ b/blender.spec @@ -13,7 +13,7 @@ Name: blender Epoch: 1 Version: %{blender_api}a -Release: 9%{?dist} +Release: 10%{?dist} Summary: 3D modeling, animation, rendering and post-production @@ -300,6 +300,9 @@ fi || : %{_sysconfdir}/rpm/macros.blender %changelog +* Fri Sep 7 2012 Jochen Schmitt - 1:2.63a-10 +- Add forgotten O_EXCL to CVE-patch + * Fri Sep 7 2012 Jochen Schmitt - 1:2.63a-9 - Fix corrupted patch