Fix another DoS vulnerability that has been identified by Luigi Auriemma. (Finally closes #67)

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1452 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2007-05-23 17:24:06 +00:00
parent 30c52e56c3
commit 79c94db7a6

View file

@ -144,9 +144,6 @@ int pa_sap_recv(pa_sap_context *c, int *goodbye) {
goto fail;
}
if (!size)
return 0;
buf = pa_xnew(char, size+1);
buf[size] = 0;