From bfba309e7c7e71fbd575b4b5dff6fe4f8525f441 Mon Sep 17 00:00:00 2001 From: Miloslav Trmac Date: Thu, 14 Oct 2004 19:13:51 +0000 Subject: [PATCH] - Fix crash with -p (#134910, #129676) --- ypserv-2.11-iface-binding3.patch | 2 +- ypserv.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ypserv-2.11-iface-binding3.patch b/ypserv-2.11-iface-binding3.patch index a11c4bb..47b9cfa 100644 --- a/ypserv-2.11-iface-binding3.patch +++ b/ypserv-2.11-iface-binding3.patch @@ -153,7 +153,7 @@ }; - c = getopt_long (argc, argv, "vdp:buh", long_options, &option_index); -+ c = getopt_long (argc, argv, "vdpi:buh", long_options, &option_index); ++ c = getopt_long (argc, argv, "vdp:i:buh", long_options, &option_index); if (c == -1) break; switch (c) diff --git a/ypserv.spec b/ypserv.spec index cb0b9dc..acc929b 100644 --- a/ypserv.spec +++ b/ypserv.spec @@ -4,7 +4,7 @@ Summary: The NIS (Network Information Service) server. Url: http://www.linux-nis.org/nis/ypserv/index.html Name: ypserv Version: 2.13 -Release: 4 +Release: 5 License: GPL Group: System Environment/Daemons Source0: ftp://ftp.kernel.org/pub/linux/utils/net/NIS/ypserv-%{version}.tar.bz2 @@ -136,6 +136,9 @@ exit 0 %{_includedir}/*/* %changelog +* Thu Oct 14 2004 Miloslav Trmac - 2.13-5 +- Fix crash with -p (#134910, #129676) + * Tue Aug 31 2004 Steve Dickson - Zeroed out the ypxfr response buffer so allocated memory is not freed with the transfer fails