Projects
openEuler:22.03:LTS
procmail
_service:tar_scm_kernel_repo:procmail-3.22-CVE-...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm_kernel_repo:procmail-3.22-CVE-2017-16844.patch of Package procmail
diff --git a/src/formisc.c b/src/formisc.c index 5c2869d..54fd013 100644 --- a/src/formisc.c +++ b/src/formisc.c @@ -103,7 +103,7 @@ void loadsaved(sp)const struct saved*const sp; /* load some saved text */ } /* append to buf */ void loadbuf(text,len)const char*const text;const size_t len; -{ if(buffilled+len>buflen) /* buf can't hold the text */ +{ while(buffilled+len>buflen) /* buf can't hold the text */ buf=realloc(buf,buflen+=Bsize); tmemmove(buf+buffilled,text,len);buffilled+=len; }
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.