Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
xorg-x11-xtrans-devel
xtrans-sig11.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xtrans-sig11.diff of Package xorg-x11-xtrans-devel
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; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor