midori_view_get_uri_extension modifies a const gchar*

Bug #957678 reported by gue5t gue5t
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Midori Web Browser
Fix Released
Undecided
Unassigned

Bug Description

On midori-view.c:5118, midori_view_get_uri_extension modifies its const gchar* argument ("*ext_end = 0;" when ext_end is equal to uri+some offset). This causes a crash if the argument was not in a writable memory section and undesired behavior otherwise.

Tags: bitesize crash
Cris Dywan (kalikiana)
Changed in midori:
status: New → Fix Committed
Cris Dywan (kalikiana)
tags: removed: uri
Cris Dywan (kalikiana)
Changed in midori:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.