[Xcb] [Bug 22352] New: found overlapping data buffer in libX11-1.1.5
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jun 18 13:51:05 PDT 2009
http://bugs.freedesktop.org/show_bug.cgi?id=22352
Summary: found overlapping data buffer in libX11-1.1.5
Product: XCB
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Library
AssignedTo: xcb at lists.freedesktop.org
ReportedBy: ettl.martin at gmx.de
QAContact: xcb at lists.freedesktop.org
Hello,
i checked the sorces of libX11-1.1.5 with static code analyis tool cpppcheck.
It brought up an issue in file libX11-1.1.5/modules/om/generic/omGeneric.c at
line 618.
Cppcheck has the following output:
[libX11-1.1.5/modules/om/generic/omGeneric.c:618]: (error) Overlapping data
buffer rotate_font_ptr
Take a look at the sourecode (line 618):
sprintf(rotate_font_ptr, "%s-%s", rotate_font_ptr, fields[field_num]);
Indeed, cppcheck is right.
Best regards
Ettl Martin
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Xcb
mailing list