Hello community, here is the log from the commit of package bacula checked in at Thu Jan 24 18:04:30 CET 2008. -------- --- bacula/bacula.changes 2008-01-15 14:34:55.000000000 +0100 +++ /mounts/work_src_done/STABLE/bacula/bacula.changes 2008-01-22 20:48:09.000000000 +0100 @@ -1,0 +2,5 @@ +Tue Jan 22 20:47:21 CET 2008 - anicka@suse.cz + +- fix problems detected by FORTIFY_SOURCE [#354872] + +------------------------------------------------------------------- New: ---- bacula-2.2.7-fortify.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bacula.spec ++++++ --- /var/tmp/diff_new_pack.Vmu803/_old 2008-01-24 18:04:00.000000000 +0100 +++ /var/tmp/diff_new_pack.Vmu803/_new 2008-01-24 18:04:00.000000000 +0100 @@ -17,7 +17,7 @@ Group: Productivity/Archiving/Backup AutoReqProv: on Version: 2.2.7 -Release: 1 +Release: 5 Summary: Bacula--The Network Backup Solution: Client Part Url: http://www.bacula.org Source0: %{name}-%{version}.tar.bz2 @@ -29,6 +29,7 @@ Source22: bacula-sd.fw Patch: %{name}-%{version}-cflags.diff Patch1: %{name}-%{version}-python.diff +Patch2: %{name}-%{version}-fortify.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -66,6 +67,7 @@ %setup -q %patch %patch1 +%patch2 %build CFLAGS="-fno-strict-aliasing $RPM_OPT_FLAGS" LDFLAGS="-L/usr/%{_lib}/mysql" ./configure \ @@ -177,29 +179,31 @@ %dir /var/lib/bacula/working %changelog -* Tue Jan 15 2008 - anicka@suse.cz +* Tue Jan 22 2008 anicka@suse.cz +- fix problems detected by FORTIFY_SOURCE [#354872] +* Tue Jan 15 2008 anicka@suse.cz - update to 2.2.7 * implement double quoting include names in conf files, and also allow piping input by having the first character be a vertical bar (|). * implement %%f in RunScripts to pass the FileSet name. * bugfixes -* Wed Nov 21 2007 - anicka@suse.cz +* Wed Nov 21 2007 anicka@suse.cz - update to 2.2.6 * many new features (new major release) * fix of serious bug that could cause data loss -* Tue Jun 12 2007 - anicka@suse.cz +* Tue Jun 12 2007 anicka@suse.cz - update to 2.0.3 * bugfixes * Add smartctl call to bacula-sd.conf as an example of getting tape alert info. * Add Client Connect Wait to Storage daemon to permit users to modify the time the SD waits for a FD connection. -* Mon Mar 05 2007 - anicka@suse.cz +* Mon Mar 05 2007 anicka@suse.cz - fix path for firewall definitions -* Thu Feb 22 2007 - anicka@suse.cz +* Thu Feb 22 2007 anicka@suse.cz - add firewall definitions [#247362] -* Fri Feb 02 2007 - anicka@suse.cz +* Fri Feb 02 2007 anicka@suse.cz - update to 2.0.2 * Implement the include JobID in spool file name project. * Reorder projects file in order determined by Jan 2007 vote. @@ -219,46 +223,46 @@ SHA1 option, which was eating the next option. * Add code to indicate when the SD is spooling, spool wait, and despooling. -* Tue Jan 23 2007 - anicka@suse.cz +* Tue Jan 23 2007 anicka@suse.cz - build with $RPM_OPT_FLAGS -* Fri Jan 05 2007 - anicka@suse.cz +* Fri Jan 05 2007 anicka@suse.cz - update to 2.0.0 * new major release, merged code from beta, see ChangeLog file for detailed information -* Sat Sep 02 2006 - aj@suse.de +* Sat Sep 02 2006 aj@suse.de - Cleanup BuildRequires. -* Wed Jul 19 2006 - anicka@suse.cz +* Wed Jul 19 2006 anicka@suse.cz - update to 1.38.11 * added documentation translations, change license to FDL * bugfixes - rename tee variable in console.c -* Fri May 19 2006 - anicka@suse.cz +* Fri May 19 2006 anicka@suse.cz - update to 1.38.9: - various bugfixes and minor improvements, see Changelog for more information -* Tue Jan 31 2006 - anicka@suse.cz +* Tue Jan 31 2006 anicka@suse.cz - add noreplace to all .conf files (#146150) -* Fri Jan 27 2006 - anicka@suse.cz +* Fri Jan 27 2006 anicka@suse.cz - remove unneeded files (#145310) -* Wed Jan 25 2006 - mls@suse.de +* Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires -* Thu Jan 05 2006 - anicka@suse.cz +* Thu Jan 05 2006 anicka@suse.cz - update to 1.38.3 -* Fri Dec 09 2005 - anicka@suse.cz +* Fri Dec 09 2005 anicka@suse.cz - package documentation files (#137127) -* Fri Dec 02 2005 - anicka@suse.cz +* Fri Dec 02 2005 anicka@suse.cz - build with -fno-strict-aliasing -* Thu Nov 24 2005 - mt@suse.de +* Thu Nov 24 2005 mt@suse.de - update to 1.38.2 - enabled ACL, TLS and tcp wrapper support - fixed to use separate preun postun scripts for bacula and bacula server subpackages -* Fri Nov 11 2005 - anicka@suse.cz +* Fri Nov 11 2005 anicka@suse.cz - update to 1.38.0 - add rcbacula-fd, -sd, -dir links -* Mon Oct 03 2005 - anicka@suse.cz +* Mon Oct 03 2005 anicka@suse.cz - update to 1.37.40 -* Tue Jul 19 2005 - anicka@suse.cz +* Tue Jul 19 2005 anicka@suse.cz - use proper lib (lib64 on biarch) -* Wed Jul 13 2005 - anicka@suse.cz +* Wed Jul 13 2005 anicka@suse.cz - package created ++++++ bacula-2.2.7-fortify.diff ++++++ --- src/console/console_conf.c +++ src/console/console_conf.c @@ -74,7 +74,12 @@ #else URES res_all; #endif -int res_all_size = sizeof(res_all); + +void +res_all_memset(void* s, int i) +{ + memset(s,i,sizeof(res_all)); +} /* Definition of records permitted within each * resource with the routine to process the record --- src/dird/dird_conf.c +++ src/dird/dird_conf.c @@ -93,8 +93,12 @@ #else URES res_all; #endif -int res_all_size = sizeof(res_all); +void +res_all_memset(void* s, int i) +{ + memset(s,i,sizeof(res_all)); +} /* Definition of records permitted within each * resource with the routine to process the record --- src/dird/inc_conf.c +++ src/dird/inc_conf.c @@ -72,7 +72,6 @@ #else extern URES res_all; #endif -extern int res_all_size; /* We build the current new Include and Exclude items here */ static INCEXE res_incexe; --- src/filed/filed_conf.c +++ src/filed/filed_conf.c @@ -77,7 +77,12 @@ #else URES res_all; #endif -int res_all_size = sizeof(res_all); + +void +res_all_memset(void* s, int i) +{ + memset(s,i,sizeof(res_all)); +} /* Definition of records permitted within each * resource with the routine to process the record --- src/gnome2-console/console_conf.c +++ src/gnome2-console/console_conf.c @@ -70,7 +70,12 @@ * scan is complete. */ URES res_all; -int res_all_size = sizeof(res_all); + +void +res_all_memset(void* s, int i) +{ + memset(s,i,sizeof(res_all)); +} /* Definition of records permitted within each * resource with the routine to process the record --- src/lib/parse_conf.c +++ src/lib/parse_conf.c @@ -85,7 +85,6 @@ #else extern CURES res_all; #endif -extern int res_all_size; extern brwlock_t res_lock; /* resource lock */ @@ -202,7 +201,7 @@ } first = false; - memset(&res_all, 0, res_all_size); + res_all_memset(&res_all, 0); res_all.hdr.rcode = type; res_all.hdr.refcnt = 1; --- src/lib/parse_conf.h +++ src/lib/parse_conf.h @@ -173,3 +173,5 @@ void store_size(LEX *lc, RES_ITEM *item, int index, int pass); void store_defs(LEX *lc, RES_ITEM *item, int index, int pass); void store_label(LEX *lc, RES_ITEM *item, int index, int pass); + +void res_all_memset(void* s, int i);; --- src/qt-console/bat_conf.cpp +++ src/qt-console/bat_conf.cpp @@ -70,7 +70,12 @@ * scan is complete. */ URES res_all; -int res_all_size = sizeof(res_all); + +void +res_all_memset(void* s, int i) +{ + memset(s,i,sizeof(res_all)); +} /* Definition of records permitted within each * resource with the routine to process the record --- src/stored/stored_conf.c +++ src/stored/stored_conf.c @@ -56,7 +56,12 @@ #else URES res_all; #endif -int res_all_size = sizeof(res_all); + +void +res_all_memset(void* s, int i) +{ + memset(s,i,sizeof(res_all)); +} /* Definition of records permitted within each * resource with the routine to process the record --- src/tray-monitor/tray_conf.c +++ src/tray-monitor/tray_conf.c @@ -67,8 +67,12 @@ * scan is complete. */ URES res_all; -int res_all_size = sizeof(res_all); +void +res_all_memset(void* s, int i) +{ + memset(s,i,sizeof(res_all)); +} /* Definition of records permitted within each * resource with the routine to process the record --- src/wx-console/console_conf.c +++ src/wx-console/console_conf.c @@ -86,7 +86,12 @@ #else URES res_all; #endif -int res_all_size = sizeof(res_all); + +void +res_all_memset(void* s, int i) +{ + memset(s,i,sizeof(res_all)); +} /* Definition of records permitted within each * resource with the routine to process the record ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org