-
Committer:
Package Import Robot
-
Author(s):
Jean-Louis Dupond, Jean-Louis Dupond, Ryan Murray
-
Date:
2015-10-07 11:09:44 UTC
-
Revision ID:
package-import@ubuntu.com-20151007110944-eveqvkhv4fh8l26z
Tags: 1.4.1-0.2ubuntu2
[ Jean-Louis Dupond ]
* Fix building on new Cmake
[ Ryan Murray ]
* d/patches/fixed_upstream-gcc5-auth-fix.patch: fix SIP authentication (LP:
#1497871).
.
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.
.
Not forwarded upstream: already refactored in upstream ring code.