1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-09 13:50:00 +00:00

(gtk) #1185: crash by maliciously-crafted .torrent files "creator" field

This commit is contained in:
Charles Kerr 2008-08-13 03:05:51 +00:00
parent 939eed339a
commit d521734c8d

View file

@ -850,6 +850,7 @@ info_page_new (tr_torrent * tor)
hig_workarea_add_section_title (t, &row, _("Origins"));
l = gtk_label_new (*info->creator ? info->creator : _("Unknown"));
gtk_label_set_ellipsize( GTK_LABEL( l ), PANGO_ELLIPSIZE_END );
hig_workarea_add_row (t, &row, _("Creator:"), l, NULL);
l = gtk_label_new( NULL );