]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_iax2: Fix use of uninited memory in try_transfer. 71/4171/2
authorWalter Doekes <walter+github@wjd.nu>
Tue, 25 Oct 2016 09:09:59 +0000 (11:09 +0200)
committerWalter Doekes <walter+asterisk@wjd.nu>
Tue, 25 Oct 2016 09:15:02 +0000 (11:15 +0200)
commit304f3278b5f292f1db432edbbabd0d539303fa08
treebe0fef9cb12d2334ec33b9216b480ed3d957135e
parent7fb0496679b0cd0775b9951e9f0370f6d238f240
chan_iax2: Fix use of uninited memory in try_transfer.

- if newip contained the right stack garbage, it would overwrite the
  correct IP
- memmove was unnecessary

Reported by: saltsa (on IRC)

Change-Id: I9375589f832b08cdff5b05ba975f3c62eef80619
channels/chan_iax2.c