Skip to content

Commit

Permalink
Merge branch 'trac-3348-berry-crash-loading-dylibs' into niftk-2013.09
Browse files Browse the repository at this point in the history
  • Loading branch information
MattClarkson committed Apr 19, 2014
2 parents b552a91 + f81bbf9 commit f47f8bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ BundleLoader::ListLibraries(IBundle::Pointer bundle, std::vector<std::string>& l
}
else
{
if (iter->substr(iter->size() - suf) == Poco::SharedLibrary::suffix())
if (iter->size() > suf && iter->substr(iter->size() - suf) == Poco::SharedLibrary::suffix())
{
iter->erase(iter->size() - suf);
iter->insert(0, baseDir);
Expand Down

0 comments on commit f47f8bc

Please sign in to comment.