[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.
- [PATCH] Rework the do_list_voices function, and fix a memory leak., Christopher Brannon, 2010/09/13
- [PATCH] Rework the do_list_voices function, and fix a memory leak., Andrei Kholodnyi, 2010/09/15
- [PATCH] Rework the do_list_voices function, and fix a memory leak., Christopher Brannon, 2010/09/15
- [PATCH] Rework the do_list_voices function, and fix a memory leak., Andrei Kholodnyi, 2010/09/16
- [PATCH] Rework the do_list_voices function, and fix a memory leak., Trevor Saunders, 2010/09/16
- [PATCH] Rework the do_list_voices function, and fix a memory leak.,
Andrei Kholodnyi <=
- [PATCH] Rework the do_list_voices function, and fix a memory leak., Trevor Saunders, 2010/09/17
- [PATCH] Rework the do_list_voices function, and fix a memory leak., Christopher Brannon, 2010/09/16
- [PATCH] Rework the do_list_voices function, and fix a memory leak., Andrei . Kholodnyi, 2010/09/16
- [PATCH] Rework the do_list_voices function, and fix a memory leak., William Hubbs, 2010/09/16
- [PATCH] Rework the do_list_voices function, and fix a memory leak., Christopher Brannon, 2010/09/16
- [PATCH] Rework the do_list_voices function, and fix a memory leak., Andrei Kholodnyi, 2010/09/16
- [PATCH] Rework the do_list_voices function, and fix a memory leak., Christopher Brannon, 2010/09/16