[pulseaudio-commits] r1451 - /trunk/src/modules/module-volume-restore.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Wed May 23 10:12:08 PDT 2007
Author: lennart
Date: Wed May 23 19:12:07 2007
New Revision: 1451
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=3D1451&root=3Dpulseaudio&vi=
ew=3Drev
Log:
add a missing initialization that causes a crash when parsing invalid volum=
e restoration tables (Problem identified by Luigi Auriemma, re #67)
Modified:
trunk/src/modules/module-volume-restore.c
Modified: trunk/src/modules/module-volume-restore.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/modules/module-volume=
-restore.c?rev=3D1451&root=3Dpulseaudio&r1=3D1450&r2=3D1451&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/src/modules/module-volume-restore.c (original)
+++ trunk/src/modules/module-volume-restore.c Wed May 23 19:12:07 2007
@@ -435,6 +435,7 @@
u->subscription =3D NULL;
u->table_file =3D pa_xstrdup(pa_modargs_get_value(ma, "table", NULL));
u->modified =3D 0;
+ u->sink_input_hook_slot =3D u->source_output_hook_slot =3D NULL;
=
m->userdata =3D u;
=
More information about the pulseaudio-commits
mailing list