rpms/bootparamd/devel bootparamd-err.patch, NONE, 1.1 bootparamd.spec, 1.16, 1.17
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Tue Jan 17 06:36:36 UTC 2006
- Previous message (by thread): rpms/pyxf86config/devel .cvsignore, 1.12, 1.13 pyxf86config.spec, 1.21, 1.22 sources, 1.12, 1.13
- Next message (by thread): rpms/strace/FC-4 .cvsignore, 1.17, 1.18 sources, 1.19, 1.20 strace.spec, 1.29, 1.30
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: stransky
Update of /cvs/dist/rpms/bootparamd/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv8371
Modified Files:
bootparamd.spec
Added Files:
bootparamd-err.patch
Log Message:
fix for #177902 - Callbootd segfaults when connecting to nonexistent server
bootparamd-err.patch:
callbootd.c | 4 ++++
1 files changed, 4 insertions(+)
--- NEW FILE bootparamd-err.patch ---
--- netkit-bootparamd-0.17-pre20000412/rpc.bootparamd/callbootd.c.old 1997-09-23 10:39:26.000000000 +0200
+++ netkit-bootparamd-0.17-pre20000412/rpc.bootparamd/callbootd.c 2006-01-17 07:25:25.000000000 +0100
@@ -80,6 +80,10 @@
if (!broadcast) {
clnt = clnt_create(server,BOOTPARAMPROG, BOOTPARAMVERS, "udp");
+ if(!clnt) {
+ fprintf(stderr,"Unable to connect to '%s'.\n", server);
+ exit(1);
+ }
}
switch (argc) {
Index: bootparamd.spec
===================================================================
RCS file: /cvs/dist/rpms/bootparamd/devel/bootparamd.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- bootparamd.spec 9 Dec 2005 22:39:49 -0000 1.16
+++ bootparamd.spec 17 Jan 2006 06:36:32 -0000 1.17
@@ -3,7 +3,7 @@
Summary: A server process which provides boot information to diskless clients.
Name: bootparamd
Version: 0.17
-Release: 23.devel.1
+Release: 24.devel
License: BSD
Group: System Environment/Daemons
Source: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit-devel/netkit-bootparamd-%{version}%{_snapshot}.tar.gz
@@ -14,6 +14,7 @@
Patch3: bootparamd.fast-dns.patch
Patch4: bootparamd-resolver-fix.patch
Patch5: bootparamd-get-router.patch
+Patch6: bootparamd-err.patch
Prereq: /sbin/chkconfig /etc/init.d
Requires: portmap
BuildRoot: %{_tmppath}/%{name}-%{version}-root
@@ -40,6 +41,7 @@
%patch3 -p1
%patch4 -p1
%patch5 -p1 -b .router
+%patch6 -p1 -b .err
%build
sh configure --with-c-compiler=gcc
@@ -88,6 +90,10 @@
%config /etc/rc.d/init.d/bootparamd
%changelog
+* Tue Jan 17 2006 Martin Stransky <stransky at redhat.com> 0.17-24.devel
+- fix for #177902 - Callbootd segfaults when connecting to
+ nonexistent server
+
* Fri Dec 09 2005 Jesse Keating <jkeating at redhat.com>
- rebuilt
- Previous message (by thread): rpms/pyxf86config/devel .cvsignore, 1.12, 1.13 pyxf86config.spec, 1.21, 1.22 sources, 1.12, 1.13
- Next message (by thread): rpms/strace/FC-4 .cvsignore, 1.17, 1.18 sources, 1.19, 1.20 strace.spec, 1.29, 1.30
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-cvs-commits
mailing list