- Fix the previous patch.
This commit is contained in:
parent
441e95b04a
commit
cd4e1283ea
@ -6,7 +6,7 @@ diff -urN stunnel/src/libwrap.c stunnel-4.27/src/libwrap.c
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
- *recvfd=*((int *)CMSG_DATA(cmptr));
|
- *recvfd=*((int *)CMSG_DATA(cmptr));
|
||||||
+ memcpy(&recvfd, CMSG_DATA(cmptr), sizeof(int));
|
+ memcpy(recvfd, CMSG_DATA(cmptr), sizeof(int));
|
||||||
#else
|
#else
|
||||||
if(msg.msg_accrightslen==sizeof(int))
|
if(msg.msg_accrightslen==sizeof(int))
|
||||||
*recvfd=newfd;
|
*recvfd=newfd;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Summary: An SSL-encrypting socket wrapper
|
Summary: An SSL-encrypting socket wrapper
|
||||||
Name: stunnel
|
Name: stunnel
|
||||||
Version: 4.27
|
Version: 4.27
|
||||||
Release: 2
|
Release: 3
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
URL: http://stunnel.mirt.net/
|
URL: http://stunnel.mirt.net/
|
||||||
@ -81,6 +81,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%exclude %{_sysconfdir}/stunnel/*
|
%exclude %{_sysconfdir}/stunnel/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun May 3 2009 Miloslav Trmač <mitr@redhat.com> - 4.27-3
|
||||||
|
- Fix the previous patch.
|
||||||
|
|
||||||
* Wed Apr 29 2009 Miloslav Trmač <mitr@redhat.com> - 4.27-2
|
* Wed Apr 29 2009 Miloslav Trmač <mitr@redhat.com> - 4.27-2
|
||||||
- Avoid aliasing undefined by ISO C
|
- Avoid aliasing undefined by ISO C
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user