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 Mar 30, 2017 at 04:53:30.
(provided by the Example extension).