Files
packages/libs/loudmouth/patches/002-fix-comparison.patch
Ilya Lipnitskiy b1cbd93bcd treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
(cherry picked from commit 5d8d4fbbcb)
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-02-25 01:26:05 +08:00

12 lines
412 B
Diff

--- a/loudmouth/lm-sasl.c
+++ b/loudmouth/lm-sasl.c
@@ -529,7 +529,7 @@ sasl_md5_prepare_response (LmSASL *sasl,
}
nonce = g_hash_table_lookup (challenge, "nonce");
- if (nonce == NULL || nonce == '\0') {
+ if (nonce == NULL || *nonce == '\0') {
g_log (LM_LOG_DOMAIN, LM_LOG_LEVEL_SASL,
"%s: server didn't provide a nonce in the challenge",
G_STRFUNC);