~ubuntu-branches/ubuntu/precise/clamav/precise-security

« back to all changes in this revision

Viewing changes to libclamav/mpool.c

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2014-11-21 09:58:30 UTC
  • mfrom: (0.47.10)
  • Revision ID: package-import@ubuntu.com-20141121095830-g7mk3a12cpvbvp5v
Tags: 0.98.5+addedllvm-0ubuntu0.12.04.1
* Updated to 0.98.5 to fix security issues, including CVE-2013-6497.
* Removed patches no longer needed:
  - d/p/0002-Sebastian-Andrzej-Siewior.patch
  - d/p/0003-configure-use-pkg-config-for-check-so-test-is-detect.patch
  - d/p/0004-Stop-using-a-cargo-culted-syscall-table-and-trust-th.patch
  - d/p/0005-configure.ac-patches-to-got-with-autoreconf-and-auto.patch
  - d/p/0006-Fix-STAT64-definition-and-add-missing-includes.patch
* Added patches from vivid to fix FTBFS, .so version and other issues:
  - d/p/0002-Add-an-additional-n-after-the-number-in-the-pidfile.patch
  - d/p/0003-unit_tests-increment-test-timeout-from-40secs-to-5mi.patch
  - d/p/0006-remove-unnecessary-harmful-flags-from-libclamav.pc.patch
  - d/p/0010-hardcode-LLVM-linker-flag-because-llvm-config-return.patch
  - d/p/0017-Bump-.so-version-number.patch
  - d/p/0018-llvm-don-t-use-system-libs.patch
* debian/clamav-docs.docs: use wildcards, as some docs have changed.
* debian/clamav-base.postinst.in: added new options.
* debian/clamav-base.config.in: added new options.
* debian/clamav-base.templates: added new options.
* debian/control: added libssl-dev BuildDepends.
* clamav-testfiles.install: removed rar files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
#endif
41
41
#include <stddef.h>
42
42
 
 
43
#include "clamav.h"
43
44
#include "others.h"
44
45
#include "str.h"
45
46
#include "readdb.h"
57
58
#ifdef DEBUGMPOOL
58
59
#define spam(...) cli_warnmsg( __VA_ARGS__)
59
60
#else
60
 
static inline void spam(const char *fmt, ...) { fmt = fmt; } /* gcc STFU */
 
61
static inline void spam(const char *fmt, ...) { UNUSEDPARAM(fmt); }
61
62
#endif
62
63
 
63
64
#include "mpool.h"