segfaults calling soup_cookie_new with cookie domain = NULL



Hi,
using libsoup2.4 (2.25) and libsoup2.4 (2.26.0)
i just got a segfault doing that :

const char* fDomain = NULL;
const char* fPath = NULL;
SoupCookie* fCookie = soup_cookie_new(cookieName, cookieValue, fDomain, fPath, SOUP_COOKIE_MAX_AGE_ONE_HOUR);
soup_cookie_jar_add_cookie(fCookieJar, fCookie);

no segfault with
fDomain = "";
fPath = NULL;

Hope this helps,
Cheers,

Jérémy Lal.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]