speechd-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Rework the do_list_voices function, and fix a memory leak.


From: Andrei Kholodnyi
Subject: [PATCH] Rework the do_list_voices function, and fix a memory leak.
Date: Fri, 17 Sep 2010 17:43:34 +0200

Hi Trev

> I believe we can trust that name != NULL because that list of voices
> came from the module which we can trust. ?I believe we can trust modules
> because currently for the module to be running someone trusted with the
> right to edit the speechd.conf has to set it up to run, so if they can
> setup a militious module we were already owned, and they have no reason
> to add such a module. ?If we support runtime or automatic module loading
> only modules in a system folder like /usr/lib/speech-dispatcher-modules
> should be loaded, not any module, which means we can trust the module
> because someone needs permissions to write there to add a module.
>
> I hope I'm clear enough on why this shouldn't be an issue.

Yes, but still there is an issue here.
The voice list is generated by software outside of speech dispatcher
/festival, espeak etc./ and delivered to your "trusted" spd module.

That's why I think this check is valid here.

Andrei.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]