Public bug reported:
With gcc 5.x, valgrind indicates that the SIP password is pointing at
a value on the stack in a different function. The use of the temporary
std::string on the stack causes the cred_[i].data assignment to point to
a stack address, that isn't be valid by the time the password is needed
to do auth. This fixes the password pointer to be like the other auth
strings set in this function, and fixes SIP auth.
** Affects: sflphone (Ubuntu)
Importance: Undecided
Status: New
** Patch added: "fix_auth.patch"
https://bugs.launchpad.net/bugs/1497871/+attachment/4470086/+files/fix_auth.patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1497871
Title:
SIP auth fails with gcc 5.x build
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sflphone/+bug/1497871/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs