To be on the safe side, we should use sqlite3_mprintf() with %q. See http://www.sqlite.org/c3ref/mprintf.html
Created attachment 53501 [details] [review]
Use sqlite3_mprintf() with %q
The code builds with the patch, but as I don't really have things setup for color management, the code is untested.
Pushed to master, thanks dude.
the fix incomplete, cd-device-db.c is vulnerable too.
Created attachment 53844 [details] [review]
on Feb 25, 2017 at 20:36:49.
(provided by the Example extension).