diff options
Diffstat (limited to 'g15daemon-1.9.5.3-recv-oob-answer.patch')
-rw-r--r-- | g15daemon-1.9.5.3-recv-oob-answer.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/g15daemon-1.9.5.3-recv-oob-answer.patch b/g15daemon-1.9.5.3-recv-oob-answer.patch new file mode 100644 index 000000000000..adb4dccc4448 --- /dev/null +++ b/g15daemon-1.9.5.3-recv-oob-answer.patch @@ -0,0 +1,11 @@ +--- g15daemon-1.9.5.3.orig/libg15daemon_client/g15daemon_net.c ++++ g15daemon-1.9.5.3/libg15daemon_client/g15daemon_net.c +@@ -217,7 +217,7 @@ + if(poll(pfd,1,100)>0){ + if(pfd[0].revents & POLLPRI && !(pfd[0].revents & POLLERR || pfd[0].revents & POLLHUP || pfd[0].revents & POLLNVAL)) { + memset(packet,0,sizeof(packet)); +- msgret = recv(sock, packet, 10 , MSG_OOB); ++ msgret = recv(sock, packet, sizeof(packet) , MSG_OOB); + if (msgret < 1) { + return -1; + } |