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:
parent
939eed339a
commit
d521734c8d
1 changed files with 1 additions and 0 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Reference in a new issue