[vdr] VDR version 1.4.1, uninitialized var
Prakash Punnoor
prakash at punnoor.de
Thu Jun 15 22:41:47 CEST 2006
Hi,
I suggest following small patch, as valgrind complains otherwise in
combination with softdevice:
--- ringbuffer.c.old 2006-06-15 22:36:33.000000000 +0200
+++ ringbuffer.c 2006-06-15 22:19:11.000000000 +0200
@@ -157,6 +157,7 @@
description = Description ? strdup(Description) : NULL;
tail = head = margin = Margin;
buffer = NULL;
+ gotten = 0;
if (Size > 1) { // 'Size - 1' must not be 0!
if (Margin <= Size / 2) {
buffer = MALLOC(uchar, Size);
Cheers,
--
(°= =°)
//\ Prakash Punnoor /\\
V_/ \_V
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20060615/060e86d3/attachment.pgp
More information about the vdr
mailing list