]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
[net]: Fix buffer overflow in send_cred_buffer().
authorAndre Noll <maan@systemlinux.org>
Sat, 25 Apr 2009 13:17:58 +0000 (15:17 +0200)
committerAndre Noll <maan@systemlinux.org>
Sat, 25 Apr 2009 13:17:58 +0000 (15:17 +0200)
As pointed out by Johannes Wörner, para_audioc crashes on recent
Ubuntu systems due to stack smashing. This is caused by writing past
the end of the control buffer which stores the message header and
the socket credentials.

This patch fixes the bug by allocating a properly sized buffer.


No differences found