Package: libmms / 0.6.2-4

Metadata

Package Version Patches format
libmms 0.6.2-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Fixup bswap.h macros.patch | (download)

src/bswap.h | 45 14 + 31 - 0 !
1 file changed, 14 insertions(+), 31 deletions(-)

 [patch] fixup bswap.h macros

The SWAP and SAME names used for the macros are named incorrectly, they should
be called LITTLE_ENDIAN_TO_NATIVE resp. BIG_ENDIAN_TO_NATIVE. This also means
that they will do the wrong thing on bigendian if used as intended in the
previous version of bswap.h, but the WORDS_BIGENDIAN define which is checked
for does not get defined by standard C headers, so we end up using the
"/* Little endian */" block on big endian machines too, which makes things
work with the old version there too. So this was a case were 2 wrongs make a
right.

This patch thus does not change anything functionally, but it does make the
code read correctly.

0002 CVE 2014 2892.patch | (download)

src/mmsh.c | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

 fix heap based buffer overrun
Bug-Debian: https://bugs.debian.org/745301