From aa081897ac57658482143f29f4b88b1ebbddede3 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 6 Jan 2015 00:31:40 +0000 Subject: - Bugfixes in unixmessage/skaclient (short writes / fd leakage / DoS) - ABI change: unixmessage protocol header is now 6 bytes (was 8) - API change: skaclient_start(_async) now takes an "options" argument - version increase to 2.1.0.0 --- doc/index.html | 2 +- doc/license.html | 2 +- doc/upgrade.html | 9 ++++ package/deps.mak | 10 ++--- package/info | 2 +- src/include/skalibs/skaclient.h | 52 +++++++++++++-------- src/include/skalibs/unixmessage.h | 25 ++++++++--- src/libunixonacid/skaclient-internal.h | 4 +- src/libunixonacid/skaclient_start.c | 4 +- src/libunixonacid/skaclient_start_async.c | 7 +-- src/libunixonacid/skaclient_start_cb.c | 16 +++++-- src/libunixonacid/skaclient_startf_async.c | 3 +- src/libunixonacid/unixmessage_put.c | 3 ++ src/libunixonacid/unixmessage_receive.c | 56 ++++++++++++++++------- src/libunixonacid/unixmessage_receiver_free.c | 19 +++++++- src/libunixonacid/unixmessage_receiver_init.c | 1 + src/libunixonacid/unixmessage_sender_flush.c | 65 ++++++++++++++++++++------- 17 files changed, 199 insertions(+), 81 deletions(-) diff --git a/doc/index.html b/doc/index.html index fc92baf..d321235 100644 --- a/doc/index.html +++ b/doc/index.html @@ -59,7 +59,7 @@ with a standard C development environment

Download

diff --git a/doc/license.html b/doc/license.html index 21865c0..8f18fd9 100644 --- a/doc/license.html +++ b/doc/license.html @@ -73,7 +73,7 @@ color, or different text font.

I am aware that the previous restrictions sound completely ridiculous while the official skalibs documentation is incomplete. -As of 2.0.0.0, I'm not going to enforce those restrictions, but if you're +As of 2.1.0.0, I'm not going to enforce those restrictions, but if you're going to provide documentation for skalibs, don't keep it to yourself, please send it to me instead. :-)

diff --git a/doc/upgrade.html b/doc/upgrade.html index 71f7456..8eb2a9a 100644 --- a/doc/upgrade.html +++ b/doc/upgrade.html @@ -17,6 +17,15 @@

What has changed in skalibs

+

in 2.1.0.0

+ + +

in 2.0.0.0