Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
cyrus-imapd
cyrus-imapd_nntp-overflow.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cyrus-imapd_nntp-overflow.dif of Package cyrus-imapd
Index: cyrus-imapd-2.3.11/imap/nntpd.c =================================================================== --- cyrus-imapd-2.3.11.orig/imap/nntpd.c +++ cyrus-imapd-2.3.11/imap/nntpd.c @@ -4107,7 +4107,8 @@ static struct wildmat *split_wildmats(ch else if (*c == '@') wild[n].not = -1; /* absolute not (feeding) */ else wild[n].not = 0; - strcpy(p, wild[n].not ? c + 1 : c); + strncpy(p, wild[n].not ? c + 1 : c, pattern+sizeof(pattern) - p); + pattern[sizeof(pattern)-1] = '\0'; wild[n++].pat = xstrdup(pattern); } while (c != str); wild[n].pat = NULL;
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