soup_auth_authenticate



Hi !

I was faced with a segfault in soup_auth_authenticate with digest auth (or actually in soup_auth_digest_compute_hex_urp()), when both username && password are nulls.

So is this intentional in soup_auth_authenticate()  ? :
   g_return_if_fail (username != NULL || password == NULL);
instead of e.g.:
   g_return_if_fail (username != NULL && password != NULL);

br, Jari


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