mosquitto:fixes

Last commit made on 2026-01-06
Get this branch:
git clone -b fixes https://git.launchpad.net/mosquitto

Branch merges

Branch information

Name:
fixes
Repository:
lp:mosquitto

Recent commits

68c04fe... by Ben Wijen <email address hidden>

align SigThreadProc #ifdef

The other SigThreadProc #ifdef only check for WIN32
Make sure compilation on cygwin (and msys2) doesn't break

Signed-off-by: Ben Wijen <email address hidden>

f1716d0... by Roger Light

Add further missing free on error

b91bb96... by 609bob <email address hidden>

fix: Add missing chunk->payload free in error handler Signed-off-by:<email address hidden>

c34be25... by Rich Mattes

Fix libdir location in pkgconfig files.

The pkgconfig files currently hardcode the library directory as
${prefix}/lib, but the library installation directory in config.mk is
set as lib${LIB_SUFFIX}. This causes a mismatch between the library
installation directory and the pkgconfig file on redhat-based 64-bit
systems.

This commit remedies the issue for both the Makefile and CMake build by
modifying the pkgconfig files to use CMAKE_INSTALL_LIBDIR instead of
"lib". In the CMake system, this directly reflects the installation
path. The Makefiles were modified to replace CMAKE_INSTALL_LIBDIR with
lib${LIB_SUFFIX}, matching the libdir definition in config.mk and
following the pattern used in defining the prefix.

Signed-off-by: Rich Mattes <email address hidden>

8c73aa6... by Roger Light

Windows: Add broker linker exports file to installer

6fb01c7... by Roger Light

Add broker logging for protocol errors

a0fa07f... by Roger Light

Check return value of openssl ASN1_string_[get0_]data() functions for NULL.

This prevents a crash in case of incorrect certificate handling in openssl.

Closes #3390. Thanks to Qingpeng Du.

f3a9fbb... by Roger Light

Check *_get_ex_data() and *_set_ex_data() return values.

Closes #3389. Thanks to Qingpeng Du.

a06d936... by Roger Light

Fix: session handling when per_listener_settings is set to true

Closes #2618
Closes #2526

Thanks to Reuben Miller and llamaonaskateboard.

0811580... by Roger Light

Fix potential realloc leaks caused by errors on startup only

Closes #3363. Thanks to songsong-L