- Fix crash with -p (#134910, #129676)

This commit is contained in:
Miloslav Trmac 2004-10-14 19:13:51 +00:00
parent 39e988d63d
commit bfba309e7c
2 changed files with 5 additions and 2 deletions

View File

@ -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)

View File

@ -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 <mitr@redhat.com> - 2.13-5
- Fix crash with -p (#134910, #129676)
* Tue Aug 31 2004 Steve Dickson <SteveD@RedHat.com>
- Zeroed out the ypxfr response buffer so allocated memory
is not freed with the transfer fails