ALT Linux Bugzilla
– Attachment 5535 Details for
Bug 27625
xboing падает при запуске
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Патч, исправляющий падение.
xboing-init.patch (text/plain), 1.28 KB, created by
Andrew Borodin
on 2012-08-10 09:48:57 MSK
(
hide
)
Description:
Патч, исправляющий падение.
Filename:
MIME Type:
Creator:
Andrew Borodin
Created:
2012-08-10 09:48:57 MSK
Size:
1.28 KB
patch
obsolete
>--- init.c.orig 2009-12-13 03:17:02 +0300 >+++ init.c 2012-08-10 09:35:35 +0400 >@@ -266,12 +266,12 @@ > #endif > { > /* Create all required font structures */ >- char str[80]; >+ char str[128]; > > /* Font used for titles */ > if (!(titleFont = XLoadQueryFont(display, TITLE_FONT))) > { >- sprintf(str, >+ snprintf(str, sizeof (str) - 1, > "Cannot open the title font <%s>\nUsing default called fixed.", > TITLE_FONT); > WarningMessage(str); >@@ -281,7 +281,7 @@ > /* Very small font used for copyright message etc. */ > if (!(copyFont = XLoadQueryFont(display, COPY_FONT))) > { >- sprintf(str, >+ snprintf(str, sizeof (str) - 1, > "Cannot open the copyright font <%s>\nUsing default called fixed.", > COPY_FONT); > WarningMessage(str); >@@ -291,7 +291,7 @@ > /* Font used for general text everywhere */ > if (!(textFont = XLoadQueryFont(display, TEXT_FONT))) > { >- sprintf(str, >+ snprintf(str, sizeof (str) - 1, > "Cannot open the text font <%s>\nUsing default called fixed.", > TEXT_FONT); > WarningMessage(str); >@@ -301,7 +301,7 @@ > /* Font used for data text in intro */ > if (!(dataFont = XLoadQueryFont(display, DATA_FONT))) > { >- sprintf(str, >+ snprintf(str, sizeof (str) - 1, > "Cannot open the data font <%s>\nUsing default called fixed.", > DATA_FONT); > WarningMessage(str);
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 27625
: 5535