Hello community, here is the log from the commit of package xorg-x11-xtrans-devel checked in at Sun Oct 26 01:47:31 CEST 2008. -------- --- xorg-x11-xtrans-devel/xorg-x11-xtrans-devel.changes 2008-09-11 14:23:06.000000000 +0200 +++ /mounts/work_src_done/STABLE/xorg-x11-xtrans-devel/xorg-x11-xtrans-devel.changes 2008-10-25 11:29:11.892436539 +0200 @@ -1,0 +2,7 @@ +Sat Oct 25 11:28:30 CEST 2008 - sndirsch@suse.de + +- xtrans-sig11.diff + * Before accessing the string it needs to be checked if the + string isn't NULL. (Egbert Eich, bnc #419576) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- xtrans-sig11.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xorg-x11-xtrans-devel.spec ++++++ --- /var/tmp/diff_new_pack.A22259/_old 2008-10-26 01:47:13.000000000 +0200 +++ /var/tmp/diff_new_pack.A22259/_new 2008-10-26 01:47:13.000000000 +0200 @@ -22,7 +22,7 @@ Url: http://xorg.freedesktop.org/ %define tarball_version 1.2.1 Version: 7.4 -Release: 1 +Release: 4 License: X11/MIT BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: Development/Libraries/X11 @@ -30,6 +30,7 @@ Summary: Include Files and Libraries mandatory for X11 Development. Source: xtrans-%{tarball_version}.tar.bz2 Patch: p_xauth.diff +Patch1: xtrans-sig11.diff %description This package contains all necessary include files and libraries needed @@ -54,6 +55,7 @@ %prep %setup -n xtrans-%{tarball_version} %patch -p2 +%patch1 -p1 %build #autoreconf -fi @@ -79,6 +81,10 @@ /usr/share/aclocal/*.m4 %changelog +* Sat Oct 25 2008 sndirsch@suse.de +- xtrans-sig11.diff + * Before accessing the string it needs to be checked if the + string isn't NULL. (Egbert Eich, bnc #419576) * Thu Sep 11 2008 sndirsch@suse.de - bumped release number to 7.4 * Fri Jul 04 2008 sndirsch@suse.de ++++++ xtrans-sig11.diff ++++++ diff --git a/Xtranssock.c b/Xtranssock.c index ad3e116..c698555 100644 --- a/Xtranssock.c +++ b/Xtranssock.c @@ -528,7 +528,7 @@ TRANS(SocketReopen) (int i, int type, int fd, char *port) ciptr->family = AF_UNIX; memcpy(ciptr->peeraddr, ciptr->addr, sizeof(struct sockaddr)); ciptr->port = rindex(addr->sa_data, ':'); - if (ciptr->port[0] == ':') ciptr->port++; /* port should now point to portnum or NULL */ + if (ciptr->port && ciptr->port[0] == ':') ciptr->port++; /* port should now point to portnum or NULL */ return ciptr; } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org