Mercurial > pidgin.yaz
comparison libpurple/server.c @ 30881:a5131a257967
jabber: Fix a pernicious race condition in our cyrus auth code
About sasl_getsecret_t, sasl.h reads, in part:
outputs:
psecret set to password structure which must persist until
next call to getsecret **in same connection**, but middleware
will erase password data when it's done with it.
Clearly this needs to be per-JabberStream*, not a static var.
Jan Kaluza noted the static var and then I noted the sasl.h docs.
Fixes #11560
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Fri, 27 Aug 2010 04:30:23 +0000 |
parents | 43d5face5d9b |
children | 01a27787f8c9 91e8402106c1 |
comparison
equal
deleted
inserted
replaced
30880:dbca01e4c689 | 30881:a5131a257967 |
---|