Don't crash if the sqlite database lacks some values
authorEmilio Pozuelo Monfort <pochu27@gmail.com>
Thu, 22 Oct 2009 14:28:13 +0000 (16:28 +0200)
committerEmilio Pozuelo Monfort <pochu27@gmail.com>
Thu, 22 Oct 2009 14:46:13 +0000 (16:46 +0200)
commit1866a401a37270a441e5661c87e32323fa2d7aa2
treeb2225f523c6677ec98dd54f0f204383c2b576122
parentd90ecf983d2fbf3cc04742e3c6e8f521547c35c9
Don't crash if the sqlite database lacks some values

Right now we strcmp() the isSecure and isHttpOnly values,
but if they are missing we will crash since strcmp() is
not NULL safe. Use g_strcmp0() instead.
libsoup/soup-cookie-jar-sqlite.c