Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
libsasl2-2.3057
libsasl_encode64_termination.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libsasl_encode64_termination.dif of Package libsasl2-2.3057
Index: lib/saslutil.c =================================================================== --- lib/saslutil.c.orig +++ lib/saslutil.c @@ -127,7 +127,7 @@ int sasl_encode64(const char *_in, unsig olen = (inlen + 2) / 3 * 4; if (outlen) *outlen = olen; - if (outmax < olen) + if (outmax <= olen) return SASL_BUFOVER; /* Do the work... */ @@ -151,8 +151,7 @@ int sasl_encode64(const char *_in, unsig *out++ = '='; } - if (olen < outmax) - *out = '\0'; + *out = '\0'; return SASL_OK; }
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