diff options
author | Remi Collet <fedora@famillecollet.com> | 2013-04-20 09:20:06 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2013-04-20 09:20:06 +0200 |
commit | 4ac4e5a0faa01e82bf950eb72a2a0caa96da2662 (patch) | |
tree | 162a08732d7e6c2c6e9411197cead31486940233 /event.patch | |
parent | ea0bc3ad2c947a19b3f7f53943ff9d45a130c0b5 (diff) |
php-pecl-event: fix buffer overflow
Diffstat (limited to 'event.patch')
-rw-r--r-- | event.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/event.patch b/event.patch new file mode 100644 index 0000000..8e465ba --- /dev/null +++ b/event.patch @@ -0,0 +1,11 @@ +--- event-1.6.1/classes/listener.c~ 2013-04-17 21:04:23.000000000 +0200 ++++ event-1.6.1/classes/listener.c 2013-04-20 09:11:52.608891682 +0200 +@@ -272,7 +272,7 @@ + PHP_EVENT_FETCH_BASE(base, zbase); + + if (Z_TYPE_PP(ppztarget) == IS_STRING) { +- struct sockaddr_storage *ss; ++ struct sockaddr_storage ss; + socklen_t ss_len = sizeof(ss); + memset(&ss, 0, sizeof(ss)); + |