[Merge] ~kabak-85/ubuntu/+source/ristretto:ubuntu/focal into ubuntu/+source/ristretto:ubuntu/devel

Robie Basak mp+433198 at code.launchpad.net
Tue Dec 6 15:03:26 UTC 2022


You have been requested to review the proposed merge of ~kabak-85/ubuntu/+source/ristretto:ubuntu/focal into ubuntu/+source/ristretto:ubuntu/devel.

For more details, see:
https://code.launchpad.net/~kabak-85/ubuntu/+source/ristretto/+git/ristretto/+merge/433198

Add a NULL value check.

g_file_info_get_content_type is nullable => https://developer-old.gnome.org/gio/unstable/GFileInfo.html#g-file-info-get-content-type 

When the filetype is unknown, it's return a null value/pointer that make crash at the "strncmp" instruction.

-- 
Your team Ubuntu Sponsors Team is requested to review the proposed merge of ~kabak-85/ubuntu/+source/ristretto:ubuntu/focal into ubuntu/+source/ristretto:ubuntu/devel.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: review-diff.txt
Type: text/x-diff
Size: 1838 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-sponsors/attachments/20221206/6a47d36e/attachment-0001.diff>


More information about the Ubuntu-sponsors mailing list