Hello list!
Unfortunately i have to report that we need yet another bugfix
release for the v14.9.* series.
Jörg Schilling reported a newly introduced memory corruption that
affects IMAP code. This never hit me and is not detected by
-fsanitize either, but SUN Solaris memory layout revealed it.
The real offending object is effectively the one-line patch below.
Jörg suggested a configuration improvement that i want to ship
with v14.9.21, therefore the release has to wait a couple of days,
but it will happen next week for sure.
Thank you, Jörg!
Sorry for the inconvenience. A nice rest-weekend and a good
time from Germany i wish already here,
Ciao,
diff --git a/include/mx/net-socket.h b/include/mx/net-socket.h
index faae109b..4e6c7f6d 100644
--- a/include/mx/net-socket.h
+++ b/include/mx/net-socket.h
@@ -75,7 +75,7 @@ EXPORT int mx_socket_close(struct mx_socket *sp);
/* Drop I/O buffers */
INLINE struct mx_socket *mx_socket_reset_read_buf(struct mx_socket *self){
- self->s_rbufptr = self->s_rbuf;
+ self->s_rbufptr = NIL;
self->s_rsz = 0;
return self;
}
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)