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 Aug 26, 2016 at 04:55:30.
(provided by the Example extension).