ALT Linux Bugzilla
– Attachment 4665 Details for
Bug 24601
xbindkeys падает
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
xbindkeys_malloc.patch
xbindkeys_malloc.patch (text/plain), 484 bytes, created by
tolya
on 2010-11-21 01:18:35 MSK
(
hide
)
Description:
xbindkeys_malloc.patch
Filename:
MIME Type:
Creator:
tolya
Created:
2010-11-21 01:18:35 MSK
Size:
484 bytes
patch
obsolete
>--- xbindkeys.c.orig 2010-11-21 00:40:40.000000000 +0300 >+++ xbindkeys.c 2010-11-21 00:48:16.000000000 +0300 >@@ -201,7 +201,8 @@ > static void > adjust_display (XAnyEvent * xany) > { >- size_t envstr_size = strlen(DisplayString(xany->display)) + 8 + 1; >+ // Ugly hack. Seems like DisplayString(xany->display) not always returns :0 >+ size_t envstr_size = strlen(DisplayString(xany->display)) + 2 + 8 + 1; > char* envstr = malloc (envstr_size); > XWindowAttributes attr; > char* ptr;
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 24601
:
4664
| 4665