Package: release.debian.org Severity: normal User: release.debian.org@packages.debian.org Usertags: unblock Please unblock package libebur128. 1.2.2-2 contains a new upstream release that fixes a NULL pointer access when processing 192 KHz data. unblock libebur128/1.2.2-2 Cheers -- Sebastian Ramacher
diff -Nru libebur128-1.2.0/debian/changelog libebur128-1.2.2/debian/changelog
--- libebur128-1.2.0/debian/changelog 2017-02-21 15:08:47.000000000 +0100
+++ libebur128-1.2.2/debian/changelog 2017-02-28 22:45:32.000000000 +0100
@@ -1,3 +1,15 @@
+libebur128 (1.2.2-2) unstable; urgency=medium
+
+ * Upload to unstable.
+
+ -- Sebastian Ramacher <sramacher@debian.org> Tue, 28 Feb 2017 22:45:32 +0100
+
+libebur128 (1.2.2-1) experimental; urgency=medium
+
+ * New upstream release.
+
+ -- Sebastian Ramacher <sramacher@debian.org> Mon, 27 Feb 2017 21:10:29 +0100
+
libebur128 (1.2.0-2) unstable; urgency=medium
* Team upload.
diff -Nru libebur128-1.2.0/ebur128/CMakeLists.txt libebur128-1.2.2/ebur128/CMakeLists.txt
--- libebur128-1.2.0/ebur128/CMakeLists.txt 2016-11-01 07:52:15.000000000 +0100
+++ libebur128-1.2.2/ebur128/CMakeLists.txt 2017-02-08 18:19:13.000000000 +0100
@@ -23,7 +23,7 @@
set(EBUR128_VERSION_MAJOR 1)
-set(EBUR128_VERSION 1.2.0)
+set(EBUR128_VERSION 1.2.2)
#### static
if(BUILD_STATIC_LIBS)
diff -Nru libebur128-1.2.0/ebur128/ebur128.c libebur128-1.2.2/ebur128/ebur128.c
--- libebur128-1.2.0/ebur128/ebur128.c 2016-11-01 07:52:15.000000000 +0100
+++ libebur128-1.2.2/ebur128/ebur128.c 2017-02-08 18:19:13.000000000 +0100
@@ -162,18 +162,21 @@
unsigned int f = 0;
unsigned int t = 0;
unsigned int out_stride = interp->channels * interp->factor;
+ float* outp = 0;
+ double acc = 0;
+ double c = 0;
for (frame = 0; frame < frames; frame++) {
for (chan = 0; chan < interp->channels; chan++) {
// Add sample to delay buffer
interp->z[chan][interp->zi] = *in++;
// Apply coefficients
- float* outp = out + chan;
+ outp = out + chan;
for (f = 0; f < interp->factor; f++) {
- double acc = 0.0;
+ acc = 0.0;
for (t = 0; t < interp->filter[f].count; t++) {
int i = (int)interp->zi - (int)interp->filter[f].index[t];
if (i < 0) i += interp->delay;
- double c = interp->filter[f].coeff[t];
+ c = interp->filter[f].coeff[t];
acc += interp->z[chan][i] * c;
}
*outp = (float)acc;
@@ -552,7 +555,8 @@
if (max > st->d->prev_sample_peak[c]) st->d->prev_sample_peak[c] = max; \
} \
} \
- if ((st->mode & EBUR128_MODE_TRUE_PEAK) == EBUR128_MODE_TRUE_PEAK) { \
+ if ((st->mode & EBUR128_MODE_TRUE_PEAK) == EBUR128_MODE_TRUE_PEAK && \
+ st->d->interp) { \
for (c = 0; c < st->channels; ++c) { \
for (i = 0; i < frames; ++i) { \
st->d->resampler_buffer_input[i * st->channels + c] = \
diff -Nru libebur128-1.2.0/ebur128/ebur128.h libebur128-1.2.2/ebur128/ebur128.h
--- libebur128-1.2.0/ebur128/ebur128.h 2016-11-01 07:52:15.000000000 +0100
+++ libebur128-1.2.2/ebur128/ebur128.h 2017-02-08 18:19:13.000000000 +0100
@@ -14,7 +14,7 @@
#define EBUR128_VERSION_MAJOR 1
#define EBUR128_VERSION_MINOR 2
-#define EBUR128_VERSION_PATCH 0
+#define EBUR128_VERSION_PATCH 2
#include <stddef.h> /* for size_t */
diff -Nru libebur128-1.2.0/README.md libebur128-1.2.2/README.md
--- libebur128-1.2.0/README.md 2016-11-01 07:52:15.000000000 +0100
+++ libebur128-1.2.2/README.md 2017-02-08 18:19:13.000000000 +0100
@@ -12,6 +12,9 @@
News
----
+v1.2.1 released:
+ * Fix a null pointer dereference when doing true peak scanning of 192kHz data
+
v1.2.0 released:
* New functions for real time loudness/peak monitoring:
Attachment:
signature.asc
Description: PGP signature