Your message dated Sat, 01 Jun 2024 12:37:14 +0000
with message-id <e1sdnz0-00dysm...@fasolo.debian.org>
and subject line Bug#805635: fixed in snmptrapfmt 1.19
has caused the Debian Bug report #805635,
regarding snmptrapfmt dies usually when processing long lines
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
805635: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=805635
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: snmptrapfmt
Version: 1.14

Very often When Snmptrapfmt is processing longer SNMP trap lines (usually 
longer then 4000 bytes) it dies. I has definitely some relation to counting of 
message size and byte buffer that contains the message because simple 
workaround work. See following diff:

diff -u snmptrapfmt-1.14/snmptrapfmt.c snmptrapfmt.c
--- snmptrapfmt-1.14/snmptrapfmt.c      2009-04-09 17:17:46.000000000 +0200
+++ snmptrapfmt.c       2015-11-20 13:30:51.425046878 +0100
@@ -666,7 +666,7 @@
static char    *
lg_format_buffer(t_trap * p_trap, time_t trap_time)
{
-  static char     buf[4000];    /* the output buffer */
+  static char     buf[65535];    /* the output buffer */
   char           *cPtr;         /* points to next character in output buf */
   int             bRem;         /* number of remaining chars in output buf */
   /* (starting with cPtr) */

Best regards

Leos

--- End Message ---
--- Begin Message ---
Source: snmptrapfmt
Source-Version: 1.19
Done: Bastian Germann <b...@debian.org>

We believe that the bug you reported is fixed in the latest version of
snmptrapfmt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 805...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Germann <b...@debian.org> (supplier of updated snmptrapfmt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 01 Jun 2024 12:03:31 +0000
Source: snmptrapfmt
Architecture: source
Version: 1.19
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packa...@qa.debian.org>
Changed-By: Bastian Germann <b...@debian.org>
Closes: 805635
Changes:
 snmptrapfmt (1.19) unstable; urgency=medium
 .
   * QA upload
   * d/copyright: Convert to machine-readable format
   * Drop non-existing Homepage
   * Convert to source format 3.0
   * Update debhelper to compat 13
   * Use dh for building
   * Source init functions
   * Add missing Pre-Depends
 .
   [ Jelmer Vernooij ]
   * Migrate repository from alioth to salsa
 .
   [ Leos Kunc ]
   * Process longer SNMP trap lines without dying (Closes: #805635)
Checksums-Sha1:
 5e74c5f6efd4c1154519400d1ecfcd886f2d256e 1396 snmptrapfmt_1.19.dsc
 5f49ce4511ee5b33be2d80c71bee057c8036bfcd 26940 snmptrapfmt_1.19.tar.xz
 fb286b414021d245c33b83988c008678879e0653 5954 snmptrapfmt_1.19_source.buildinfo
Checksums-Sha256:
 356e5c515123923bd09371d1d266253a8a0086d688b9e714b68351b1b4079270 1396 
snmptrapfmt_1.19.dsc
 275c3895f7584c792c2ac578477af5323b549bc876ae83be457a818461d2dfd3 26940 
snmptrapfmt_1.19.tar.xz
 3b689a6a7ddb9357e03c5e1d8394f0a0d3f63b737e1c3ca8bf60b445384eb179 5954 
snmptrapfmt_1.19_source.buildinfo
Files:
 ff7ea090386300fa9f12c15f5619009d 1396 net optional snmptrapfmt_1.19.dsc
 b8d432f36a4d9279a11969bbac6b961e 26940 net optional snmptrapfmt_1.19.tar.xz
 54b9d966e546abccc816b3671c8423c6 5954 net optional 
snmptrapfmt_1.19_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmZbDtYQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFG7xC/sH3ZjRcZ9oa3/E6biXjZ+/od/wQO7Ux/GN
P3T9r9yFY0bj8Tu2Hg2TLzbuTrcjVRJJ9ozpypp/H464600XN+iHn/YqxTz4n1GK
4wa1H1+wjhXKhDSUQ1XmfrEycgHxZmFe7E/l0Odd4q2ryzALyDwJhIRYmNoQXe5F
1YpcQY3G92mEy7NR2DMQzQiflDhwkLghMH/f6wfpizTCJHGB+5ARb7yEn/cYldHR
5Dl5wtOUVWnvnNtKAH/MZAqPYTOQ/FqYrbqQdmyzRLL636hd96wk7dd5vrI3I3nE
ExjbHPkT1g/GXIp1iDBhrm3FhTA5377ATEa309BCot8MZ0AUqNIkuAwVX0o1RYdo
T+kcA6v1SgKOYh8MMyAUb9oVtGeUDAo8tDJQy7/lewUOgVXifsNbs5capUi9eB9W
yeXVQZDVIIfv78miEq2YS7ADfKcj85sIyeftHpJN+q34YGnp5eXpAacOpsuGfZtp
4i8McZTxraMhE0y+7+R19r+JORyZUgU=
=c1Fo
-----END PGP SIGNATURE-----

Attachment: pgp4jnUYTNRUR.pgp
Description: PGP signature


--- End Message ---

Reply via email to