Bug 202742 - [patch] net/mosquitto: update to 1.4.3, add bugfix
Summary: [patch] net/mosquitto: update to 1.4.3, add bugfix
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Olli Hauer
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2015-08-29 10:29 UTC by Stefan Bethke
Modified: 2015-09-27 21:37 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (joe)


Attachments
update to 1.4.3 (743 bytes, patch)
2015-08-29 10:29 UTC, Stefan Bethke
no flags Details | Diff
files/patch-lib_memory_mosq.c (351 bytes, text/plain)
2015-08-29 10:31 UTC, Stefan Bethke
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Bethke 2015-08-29 10:29:34 UTC
Created attachment 160480 [details]
update to 1.4.3

mosquitto release 1.4.3 on Aug 18th.

Also, a bug in the malloc/free wrapper can lead to SEGVs, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=475707

I suggest to add the bug fix as a patch temporarily.
Comment 1 Stefan Bethke 2015-08-29 10:31:14 UTC
Created attachment 160481 [details]
files/patch-lib_memory_mosq.c
Comment 2 Olli Hauer freebsd_committer freebsd_triage 2015-09-27 21:31:02 UTC
Take it, additional there is an update to 1.4.4 that includes the memory leak fix.
Comment 3 commit-hook freebsd_committer freebsd_triage 2015-09-27 21:33:26 UTC
A commit references this bug:

Author: ohauer
Date: Sun Sep 27 21:32:31 UTC 2015
New revision: 398053
URL: https://svnweb.freebsd.org/changeset/ports/398053

Log:
  - update to 1.4.4

  1.4.4 - 20150916
  ================

  Broker:
  - Don't leak sockets when outgoing bridge with multiple addresses cannot
    connect. Closes #477571.
  - Fix cross compiling of websockets. Closes #475807.
  - Fix memory free related crashes on openwrt. Closes #475707.
  - Fix excessive calls to message retry check.

  1.4.3 - 20150818
  ================

  Broker:
  - Fix incorrect bridge notification on initial connection. Closes #467096.
  - Build fixes for OpenBSD.
  - Fix incorrect behaviour for autosave_interval, most noticable for
    autosave_interval=1. Closes #465438.
  - Fix handling of outgoing QoS>0 messages for bridges that could not be sent
    because the bridge connection was down.
  - Free unused topic tree elements. Closes #468987.
  - Fix some potential memory leaks. Closes #470253.
  - Fix potential crash on libwebsockets error.

  Client library:
  - Add missing error strings to mosquitto_strerror.
  - Handle fragmented TLS packets without a delay. Closes #470660.
  - Fix incorrect loop timeout being chosen when using threaded interface and
    keepalive = 0. Closes #471334.
  - Increment inflight messages count correctly. Closes #474935.

  Clients:
  - Report error string on connection failure rather than error code.

  PR:		202742
  Submitted by:	stb@lassitu.de
  Approved by:	maintainer timout (one month)

Changes:
  head/net/mosquitto/Makefile
  head/net/mosquitto/distinfo
Comment 4 Olli Hauer freebsd_committer freebsd_triage 2015-09-27 21:37:19 UTC
Committed update to 1.4.4