Hello community, here is the log from the commit of package autofs checked in at Wed Nov 21 03:23:52 CET 2007. -------- --- autofs/autofs.changes 2007-11-15 17:06:29.000000000 +0100 +++ /mounts/work_src_done/STABLE/autofs/autofs.changes 2007-11-20 17:17:00.000000000 +0100 @@ -1,0 +2,5 @@ +Tue Nov 20 17:16:31 CET 2007 - mkoenig@suse.de + +- fix buffer overflow [#341626] + +------------------------------------------------------------------- New: ---- autofs-5.0.2-size_fix.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ autofs.spec ++++++ --- /var/tmp/diff_new_pack.C12397/_old 2007-11-21 03:23:37.000000000 +0100 +++ /var/tmp/diff_new_pack.C12397/_new 2007-11-21 03:23:37.000000000 +0100 @@ -17,7 +17,7 @@ AutoReqProv: on Requires: grep Version: 5.0.2+git20071108 -Release: 2 +Release: 4 %define upver 5.0.2 Summary: A Kernel-Based Automounter BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -32,6 +32,7 @@ Patch11: autofs-suse-autofs_init.patch Patch12: autofs-5.0.1-mount_xdr_no_strict_aliasing.patch Patch13: autofs-5.0.2-use_local_cflags.patch +Patch14: autofs-5.0.2-size_fix.patch PreReq: %fillup_prereq %insserv_prereq %if %suse_version > 1020 Recommends: nfs-client @@ -62,6 +63,7 @@ %patch11 -p1 %patch12 -p1 %patch13 -p1 +%patch14 -p1 %build autoconf -f @@ -143,6 +145,8 @@ %{_mandir}/man8/* /usr/sbin/automount %changelog +* Tue Nov 20 2007 - mkoenig@suse.de +- fix buffer overflow [#341626] * Thu Nov 15 2007 - dmueller@suse.de - add recommends on nfs-client * Wed Nov 14 2007 - mkoenig@suse.de ++++++ autofs-5.0.2-size_fix.patch ++++++ Index: autofs-5.0.2/daemon/automount.c =================================================================== --- autofs-5.0.2.orig/daemon/automount.c +++ autofs-5.0.2/daemon/automount.c @@ -1123,7 +1123,7 @@ static void become_daemon(unsigned foreg if (pid > 0) { int r; close(start_pipefd[1]); - r = read(start_pipefd[0], pst_stat, sizeof(pst_stat)); + r = read(start_pipefd[0], pst_stat, sizeof(*pst_stat)); if (r < 0) exit(1); exit(*pst_stat); @@ -2052,12 +2052,12 @@ int main(int argc, char *argv[]) if (!master_read_master(master_list, age, 0)) { master_kill(master_list); *pst_stat = 3; - res = write(start_pipefd[1], pst_stat, sizeof(pst_stat)); + res = write(start_pipefd[1], pst_stat, sizeof(*pst_stat)); close(start_pipefd[1]); exit(3); } - res = write(start_pipefd[1], pst_stat, sizeof(pst_stat)); + res = write(start_pipefd[1], pst_stat, sizeof(*pst_stat)); close(start_pipefd[1]); state_mach_thid = pthread_self(); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org