Closed mhoran closed 1 year ago
163 // FIXME: suboptimal check as some results are text, some XML, some JSON...
164 if (!g_str_equal (result->data, "OK")) {
165 if (result->data == NULL) {
166 failed = TRUE;
This seems to be the issue here, where a NULL
is passed into g_str_equal
, which is undefined. Oddly there is a NULL
check below the g_str_equal
check, but the undefined behavior happens before this.
@mhoran Thanks for reporting this. I think above commit should fix this (reordering the checks). Would be great if you could retest.
Awesome, thanks! I think this was due to poor hotel Wi-Fi. I applied the patch and tried to simulate a bad connection to theoldreader.com by adding a hosts entry and this seems to work.
I haven't had the chance to debug much yet, but I have been getting some periodic crashes navigating between items in a feedlist via TheOldReader subscription. Backtrace: