[PORT FROM MAIN] Non-initialized variable caused SEGV in strdup function

BZ: 69531

The non-initialized dlerr variable from the module_open function
was passed to the module_set_error function. Incorrect dlerr
caused SEGV in the strdup function called from the
module_set_error function.

Change-Id: I7e7b0b517a56968e356460dcc7544860ce84fa91
Signed-off-by: dvshkurk <Dmitry.V.Shkurko@intel.com>
Reviewed-on: http://android.intel.com:8080/80843
Reviewed-by: Shkurko, Dmitry V <dmitry.v.shkurko@intel.com>
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
1 file changed
tree: 3b79a3cf1d1719acf287bc56a07ffd8eca0b23b5
  1. base/
  2. core/
  3. utils/
  4. .gitignore
  5. Android.mk
  6. AUTHORS
  7. ebuild.mk
  8. README