Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 125626 Details for
Bug 142817
net-mail/cyrus-imapd < 2.3.9-r1 Quota calculation integer overflow
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
2.2.12-2.2.13-64bit-quotas.diff
2.2.12-2.2.13-64bit-quotas.diff (text/plain), 1.08 KB, created by
Tobias Scherbaum (RETIRED)
on 2007-07-22 09:41:39 UTC
(
hide
)
Description:
2.2.12-2.2.13-64bit-quotas.diff
Filename:
MIME Type:
Creator:
Tobias Scherbaum (RETIRED)
Created:
2007-07-22 09:41:39 UTC
Size:
1.08 KB
patch
obsolete
>--- cyrus-imapd-2.2.12-64bit-quotas.patch 2007-07-22 10:47:07.000000000 +0200 >+++ cyrus-imapd-2.2.13-64bit-quotas.patch 2007-07-22 11:36:33.000000000 +0200 >@@ -179,8 +179,8 @@ > chartable.o imapurl.o nonblock_@WITH_NONBLOCK@.o lock_@WITH_LOCK@.o \ > gmtoff_@WITH_GMTOFF@.o map_@WITH_MAP@.o $(ACL) $(AUTH) \ > @LIBOBJS@ @CYRUSDB_OBJS@ \ >-- iptostring.o xmalloc.o wildmat.o >-+ iptostring.o xmalloc.o wildmat.o byteorder64.o >+- iptostring.o xstrlcpy.o xstrlcat.o xmalloc.o wildmat.o >++ iptostring.o xstrlcpy.o xstrlcat.o xmalloc.o wildmat.o byteorder64.o > > LIBCYRM_HDRS = $(srcdir)/hash.h $(srcdir)/mpool.h $(srcdir)/xmalloc.h \ > $(srcdir)/strhash.o $(srcdir)/libconfig.h $(srcdir)/assert.h \ >@@ -498,15 +498,6 @@ > }; > > #define QUOTAGROW 300 >-@@ -251,7 +251,7 @@ >- } >- memset("a[quota_num], 0, sizeof(struct quotaentry)); >- quota[quota_num].quota.root = xstrndup(key, keylen); >-- sscanf(data, "%lu %d", >-+ sscanf(data, UQUOTA_T_FMT " %d", >- "a[quota_num].quota.used, "a[quota_num].quota.limit); >- >- quota_num++; > @@ -422,7 +422,7 @@ > (*count)++; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 142817
: 125626