Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 652446 Details for
Bug 735596
x11-libs/libX11-1.6.10 crashes emacs (with USE=X)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
upstream patch
upstream-40.diff (text/plain), 958 bytes, created by
Javran Cheng
on 2020-08-02 21:37:52 UTC
(
hide
)
Description:
upstream patch
Filename:
MIME Type:
Creator:
Javran Cheng
Created:
2020-08-02 21:37:52 UTC
Size:
958 bytes
patch
obsolete
>diff --git a/modules/im/ximcp/imRmAttr.c b/modules/im/ximcp/imRmAttr.c >index 2491908e70914b2347ac5559ea56789a0c24b64e..919c5564718c56038e0fb2e8a968e639b520bafe 100644 >--- a/modules/im/ximcp/imRmAttr.c >+++ b/modules/im/ximcp/imRmAttr.c >@@ -265,7 +265,7 @@ _XimAttributeToValue( > > if (num > (USHRT_MAX / sizeof(XIMStyle))) > return False; >- if ((sizeof(num) + (num * sizeof(XIMStyle))) > data_len) >+ if ((2 * sizeof(CARD16) + (num * sizeof(CARD32))) > data_len) > return False; > alloc_len = sizeof(XIMStyles) + sizeof(XIMStyle) * num; > if (alloc_len < sizeof(XIMStyles)) >@@ -379,7 +379,7 @@ _XimAttributeToValue( > > if (num > (UINT_MAX / sizeof(XIMHotKeyTrigger))) > return False; >- if ((sizeof(num) + (num * sizeof(XIMHotKeyTrigger))) > data_len) >+ if ((2 * sizeof(CARD16) + (num * 3 * sizeof(CARD32))) > data_len) > return False; > alloc_len = sizeof(XIMHotKeyTriggers) > + sizeof(XIMHotKeyTrigger) * num;
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 735596
:
652436
|
652438
| 652446