summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
69ba08a)
[Issue#] LINUXWRT-234
[Bug] Dereference null return value
[Cause] N/A
[Solution] Remove issues
[Verification] Build wrt-installer repository
Change-Id: Icd6e285caa74d9e99a029d6224edd27eafb9e13f
if (dlHandle == NULL) {
LogError(
"Failed to load plugin: " << filename <<
if (dlHandle == NULL) {
LogError(
"Failed to load plugin: " << filename <<
- ". Reason: " << dlerror());
+ ". Reason: " << (dlerror() != NULL ? dlerror() : "unknown"));
ThrowMsg(Exceptions::PluginLibraryError, "Library error");
}
ThrowMsg(Exceptions::PluginLibraryError, "Library error");
}