GNOME Bugzilla – Bug 711264
Image Burning setup shows wrong free space for blanc disk
Last modified: 2018-09-21 17:44:27 UTC
Didn't see this bug reported after a quick search. When burning a CD-R and the size of the imagefile is greater than that of CD-R capacity wrong size is shown in Image Burning setup. In my case trying to burn image file of size 834Mb on a 700Mb CD-R shows 18.4EB of free space and allows burning to continue and obviously fails later on (this continuing was obvious fail on my part and not paying attention). This problem seems to happen on line: https://git.gnome.org/browse/brasero/tree/libbrasero-burn/brasero-dest-selection.c#n727 and the use of g_format_size to get the string in line 721: size_string = g_format_size (size_bytes - session_bytes); as g_format_size according to docs takes (guint64 size) and size_bytes and session_bytes both are defined as goffset and in glib: typedef gint64 goffset typedef signed long gint64; there lies the problem unless I am totally mistaken. There seems to be other similar code snippets but unfortunately I don't currently have time to go this trough myself. Screenshot taken on ubuntu 13.10, brasero 3.8. Thanks, - Sami
Created attachment 258763 [details] screenshot
presumably related to Bug 591393, modulo integer underflow
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/brasero/issues/258.