Hello community, here is the log from the commit of package cadaver checked in at Thu Dec 14 13:58:32 CET 2006. -------- --- cadaver/cadaver.changes 2006-08-16 01:49:09.000000000 +0200 +++ /mounts/work_src_done/STABLE/cadaver/cadaver.changes 2006-12-14 11:15:00.000000000 +0100 @@ -1,0 +2,5 @@ +Thu Dec 14 11:03:56 CET 2006 - prusnak@suse.cz + +- fixed 3rd argument in strncat functions + +------------------------------------------------------------------- New: ---- cadaver-0.22.3-strncat.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cadaver.spec ++++++ --- /var/tmp/diff_new_pack.bAipOd/_old 2006-12-14 13:58:29.000000000 +0100 +++ /var/tmp/diff_new_pack.bAipOd/_new 2006-12-14 13:58:29.000000000 +0100 @@ -12,15 +12,16 @@ Name: cadaver BuildRequires: libxml2-devel neon-devel openssl-devel readline-devel -License: GPL +License: GNU General Public License (GPL) Group: Productivity/Networking/Web/Utilities Autoreqprov: on Version: 0.22.3 -Release: 15 +Release: 36 Summary: Command Line WebDAV Client for Unix URL: http://www.webdav.org/cadaver/ Source0: %{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}.diff +Patch1: %{name}-%{version}-strncat.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -37,6 +38,7 @@ %prep %setup -q %patch0 +%patch1 %build %{suse_update_config -f} @@ -68,6 +70,8 @@ %{_bindir}/* %changelog -n cadaver +* Thu Dec 14 2006 - prusnak@suse.cz +- fixed 3rd argument in strncat functions * Wed Aug 16 2006 - ro@suse.de - call gettextize (MKINSTALLDIRS problem) * Thu Jul 20 2006 - olh@suse.de ++++++ cadaver-0.22.3-strncat.diff ++++++ --- lib/neon/ne_openssl.c +++ lib/neon/ne_openssl.c @@ -185,8 +185,8 @@ for (n = 0; reasons[n].bit; n++) { if (failures & reasons[n].bit) { - if (flag) strncat(sess->error, ", ", sizeof sess->error); - strncat(sess->error, _(reasons[n].str), sizeof sess->error); + if (flag) strncat(sess->error, ", ", sizeof(sess->error)-strlen(sess->error)-1); + strncat(sess->error, _(reasons[n].str), sizeof(sess->error)-strlen(sess->error)-1); flag = 1; } } --- src/edit.c +++ src/edit.c @@ -138,7 +138,7 @@ * so the editor can have a stab at the content-type. */ pnt = strrchr(real_remote, '.'); if (pnt != NULL && strchr(pnt, '/') == NULL) { - strncat(fname, pnt, _POSIX_PATH_MAX); + strncat(fname, pnt, _POSIX_PATH_MAX-strlen(fname)-1); fname[_POSIX_PATH_MAX-1] = '\0'; } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@suse.de