Debian Patches
Status for gammu/1.44.0-2
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| 04-fix_path_in_sd-unit.patch | Change path of config file The proper location is /etc/default/gammu-smsd . |
Boian Bonev <bbonev@ipacct.com> | not-needed | other | 2021-09-22 | |
| 06-disable_smsd-dbi-sqlite3.patch | Disable the unreliable smsd-dbi-sqlite3 test The smsd-dbi-sqlite3 test fails randomly because it is very sensitive to timing and host's performance. Disable it to obtain saner build/test results. . |
Boian Bonev <bbonev@ipacct.com> | not-needed | other | 2026-07-25 | |
| 08-no_warnings_in_docs.patch | Avoid errors/warnings in docs Tell sphinx not to include warnings . |
Boian Bonev <bbonev@ipacct.com> | not-needed | other | 2026-07-25 | |
| 09-mysql_errmsg_include.patch | Include <errmsg.h> for the MySQL client CR_* error codes smsd/services/mysql.c uses CR_SERVER_GONE_ERROR, CR_CONN_HOST_ERROR, CR_CONNECTION_ERROR, CR_SERVER_LOST and CR_SERVER_HANDSHAKE_ERR, but sql-core.h only pulls in <mysql.h> and <mysqld_error.h>. Those constants are defined in <errmsg.h>, so the build fails with the MariaDB client headers used in Debian. . via https://github.com/gammu/gammu/pull/1178; this patch can be dropped with the next upstream release. |
Boian Bonev <bbonev@ipacct.com> | not-needed | other | 2026-08-14 | |
| 10-no_remote_images_in_docs.patch | Remove remote badge images from README The manual now includes README.rst, which embeds badge images hosted on hosted.weblate.org and img.shields.io. That makes the generated HTML documentation fetch content from third party sites when viewed, which lintian flags as a privacy breach. Drop the badges, they carry no information useful in the shipped documentation. . |
Boian Bonev <bbonev@ipacct.com> | not-needed | other | 2026-07-25 | |
| 12-fix_unicode_console_buffer_overflow.patch | fix buffer overflow when decoding Unicode strings to console Upstream commit "fix(unicode): prevent truncation on invalid locale input" (shipped in 1.44.0) makes EncodeUnicode() emit U+FFFD for bytes that are invalid in the current locale and continue, instead of terminating the string at the first invalid byte. As a result, decoding a multipart 8-bit message whose payload is not text (for example the EMS animation built by the sms-cmdline-ANIMATION test) now produces the full-length converted string instead of a couple of characters. . DecodeUnicodeString() and DecodeUnicodeConsole() still returned that string via a fixed static 500 byte buffer, so any decoded string longer than 500 bytes overflows the buffer and corrupts adjacent globals. This is why sms-cmdline-ANIMATION segfaults on armhf, powerpc, x32 and hurd-i386 (on other architectures the overflow silently corrupts memory without crashing the test). . Grow the conversion buffers dynamically instead, sized from the UTF-16 length of the input: each UTF-16 unit expands to at most MB_LEN_MAX bytes via wctomb()/EncodeUTF8(). |
Boian Bonev <bbonev@ipacct.com> | yes | https://github.com/bbonev/gammu/commit/d6d5a027f8c1ea62ac79b50e3c19323ef675dea6 | 2026-08-14 |
