Ticket #416 (closed defect: duplicate)

Opened 3 years ago

Last modified 3 years ago

able to set autoload entries even the parameters are not correct

Reported by: hchen59 Owned by: lennart
Milestone: Component: daemon
Keywords: Cc:

Description

Description:
=========
Able to set autoload entries with incorrect sink/source/module name, via API pa_context_add_autoload().

Details:
======
1> Try to add autoload sink: pa_context_add_autoload(context, sink_name, PA_AUTOLOAD_SINK, module_name, module_argv, context_index_callback, NULL) => use sink_name="fakesink", module_name="fakemodule", module_argv=NULL. Return index=0

2> Try to add autoload source: pa_context_add_autoload (context, source_name, PA_AUTOLOAD_SOURCE, module_name, module_argv, context_index_callback, NULL) =>use source_name="fakesink", module_name="fakemodule", module_argv=NULL. Return index=1

Go to list-autoload in pacmd, both upper two entries are listed. This behavior seems incorrect. At least PA should check specified module name according to module list supported.

Change History

Changed 3 years ago by hchen59

  • status changed from new to closed
  • resolution set to duplicate

Changed 3 years ago by coling

Dupe of #417 for reference sake :)

Note: See TracTickets for help on using tickets.