Skip to content
Commit 1730f40d authored by Mitsuya Shibata's avatar Mitsuya Shibata Committed by Paolo Bacchilega
Browse files

"Add Files" dialog crashes on i386 architecture

Modified Order store GTimeVal.tv_sec[1]. GTimeVal.tv_sec is glong,
but ui file[2] specify size as gint64. Therefore no problem on 64bit,
on the other hand raise SEGV on 32bit by memory address boundary
problem.

Finally invalid address which is index of GtkListStore is passed
to g_strdup() as memory address.

This patch set same size storead size and allocated size.

[1] see calling gtk_list_store_set() at get_folder_content_done_cb()
    in src/fr-file-selector-dialog.c
[2] src/ui/file-selector.ui:296
parent 5c37b1b0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment