openbsd-ports/net/irssi-silc/patches/patch-lib_silcske_silcske_c
sthen 37757ea393 From Brad, ok martynas@:
- Bump autoconf to the proper version, 2.63.
- Bring in fixes from silc-client from upstream..

* Client: Fix signature verification double free
* Packet engine: prevent divide by 0
* SKE: Make sure failure received from remote results in error status
* Fix format string bugs
2010-07-31 12:43:25 +00:00

13 lines
519 B
Plaintext

$OpenBSD: patch-lib_silcske_silcske_c,v 1.1 2010/07/31 12:43:25 sthen Exp $
--- lib/silcske/silcske.c.orig Sat May 29 19:00:50 2010
+++ lib/silcske/silcske.c Sat May 29 19:01:32 2010
@@ -2387,6 +2387,8 @@ SILC_FSM_STATE(silc_ske_st_responder_failure)
ske->packet = NULL;
}
ske->status = error;
+ if (ske->status == SILC_SKE_STATUS_OK)
+ ske->status = SILC_SKE_STATUS_ERROR;
silc_packet_stream_unlink(ske->stream, &silc_ske_stream_cbs, ske);
silc_schedule_task_del_by_context(ske->schedule, ske);