diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-10-09 19:31:43 -0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-10-09 19:31:43 -0300 |
commit | 931cbd19f269a64dd4d8edfa592ac21500cbd380 (patch) | |
tree | 614120563b78bd88553991547778c1d2c40effba | |
parent | 8e3e88df8b4f9eb82d305e04b23b22574fb7847d (diff) |
Fix possible invalid read while attempting to load module-bluetooth-device.
-rwxr-xr-x | src/daemon/default.pa.in | 2 | ||||
-rw-r--r-- | src/modules/bluetooth/module-bluetooth-discover.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/default.pa.in b/src/daemon/default.pa.in index ae54c0a8..a8318766 100755 --- a/src/daemon/default.pa.in +++ b/src/daemon/default.pa.in @@ -73,7 +73,7 @@ load-module module-native-protocol-unix #load-module module-rtp-send source=rtp.monitor ### Enable flat volumes where possible -load-module module-flat-volumes +load-module module-flat-volume ### Automatically restore the volume of streams and devices load-module module-device-restore diff --git a/src/modules/bluetooth/module-bluetooth-discover.c b/src/modules/bluetooth/module-bluetooth-discover.c index a33ca648..79fb7a8a 100644 --- a/src/modules/bluetooth/module-bluetooth-discover.c +++ b/src/modules/bluetooth/module-bluetooth-discover.c @@ -346,7 +346,7 @@ static void load_module_for_device(struct userdata *u, struct device *d, const c pa_m = pa_module_load(u->module->core, "module-bluetooth-device", args); pa_xfree(args); - if (!m) { + if (!pa_m) { pa_log_debug("Failed to load module for device %s", d->object_path); return; } |