Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
libssh
crypt-null-pointer.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File crypt-null-pointer.patch of Package libssh
--- libssh-0.2.orig/libssh/wrapper.c 2006-12-29 10:03:59.000000000 -0500 +++ libssh-0.2/libssh/wrapper.c 2009-09-21 13:02:41.000000000 -0400 @@ -554,12 +554,13 @@ server=session->server_kex.methods[SSH_HOSTKEYS]; client=session->client_kex.methods[SSH_HOSTKEYS]; match=ssh_find_matching(client,server); - if(!strcmp(match,"ssh-dss")) + if(match && !strcmp(match,"ssh-dss")) session->hostkeys=TYPE_DSS; - else if(!strcmp(match,"ssh-rsa")) + else if(match && !strcmp(match,"ssh-rsa")) session->hostkeys=TYPE_RSA; else { - ssh_set_error(session,SSH_FATAL,"cannot know what %s is into %s",match,server); + ssh_set_error(session,SSH_FATAL,"cannot know what %s is into %s", + match ? match : NULL ,server); return -1; } return 0;
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