RHBA-2014:0998

Type: Bug fix
Severity: None
Published: 2014-08-04
Red Hat Enterprise Linux 6

log4cpp is a library of C++ classes for flexible logging to files, syslog, IDSA and other destinations. It is modeled after the Log for Java library (http://www.log4j.org), staying as close to their API as is reasonable. This update fixes the following bug: * When logging a formatted string with a variable number of parameters, an internal buffer is being allocated. For each such allocated buffer, a test checks if it is large enough to hold the logged string. If a buffer is too small, a larger one is allocated. However, the tests continued to iterate through the parameter list even after allocation. As a consequence, when a string larger than 1024 bytes was being logged, log4cpp terminated with a segmentation fault. To fix this bug, the tests are now performed on a copy of the arguments list. As a result, log4cpp no longer crashes when logging a string larger than 2014 bytes. (BZ#1125130) Users of log4cpp are advised to upgrade to these updated packages, which fix this bug.

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-27T23:33:29.885Z UTC

Official vendor advisory

Red Hat Enterprise Linux 6

View source
Observed 2026-11-27T23:33:29.885Z UTC. Last updated 2026-10-07T05:23:21.102Z UTC.

Upstream Advisory

Affected Packages

  • log4cpp 1.0-13.el6_5.1

  • log4cpp-devel 1.0-13.el6_5.1

Interested in being alerted when there are new versions of log4cpp and the other packages? Set up an alert.
RHBA-2014:0998: log4cpp bug fix update | Package Alert