Re: [PATCH] simauth: fix gsmAuthenticate

2018-10-02 Thread Denis Kenzior
Hi James, On 10/02/2018 05:41 PM, James Prestwood wrote: The input to the comp128 algorithm was relying on QSTRING_TO_BUF returning a pointer to persistant memory. This was not the case as it was returning a pointer to an intermediate object which was being freed once out of scope. It just

[PATCH] simauth: fix gsmAuthenticate

2018-10-02 Thread James Prestwood
The input to the comp128 algorithm was relying on QSTRING_TO_BUF returning a pointer to persistant memory. This was not the case as it was returning a pointer to an intermediate object which was being freed once out of scope. It just happened to work most of the time. This change copies ki/rand