Mailinglist Archive: opensuse-bugs (7187 mails)
| < Previous | Next > |
[Bug 356556] New: libX11 - bad array index
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Sun, 27 Jan 2008 13:37:21 -0700 (MST)
- Message-id: <bug-356556-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=356556
Summary: libX11 - bad array index
Product: openSUSE 11.0
Version: Alpha 1
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: X.Org
AssignedTo: sndirsch@xxxxxxxxxx
ReportedBy: meissner@xxxxxxxxxx
QAContact: xorg-maintainer-bugs@xxxxxxxxxxxxxxxxxxxxxx
Found By: ---
gcc warns:
imLcPrs.c:595: warning: array subscript is above array bounds
it is a typo in:
libX11-1.1.3/modules/im/ximcp/imLcPrs.c
l = _Xmbstoutf8(local_utf8_buf, rhs_string_mb, LOCAL_UTF8_BUFSIZE - 1);
if (l == LOCAL_UTF8_BUFSIZE - 1) {
local_wc_buf[l] = '\0';
}
it should be local_utf8_buf in that line, and likely is a copy and paste error.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Summary: libX11 - bad array index
Product: openSUSE 11.0
Version: Alpha 1
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: X.Org
AssignedTo: sndirsch@xxxxxxxxxx
ReportedBy: meissner@xxxxxxxxxx
QAContact: xorg-maintainer-bugs@xxxxxxxxxxxxxxxxxxxxxx
Found By: ---
gcc warns:
imLcPrs.c:595: warning: array subscript is above array bounds
it is a typo in:
libX11-1.1.3/modules/im/ximcp/imLcPrs.c
l = _Xmbstoutf8(local_utf8_buf, rhs_string_mb, LOCAL_UTF8_BUFSIZE - 1);
if (l == LOCAL_UTF8_BUFSIZE - 1) {
local_wc_buf[l] = '\0';
}
it should be local_utf8_buf in that line, and likely is a copy and paste error.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
| < Previous | Next > |