diff options
author | Rye Mutt <rye@alchemyviewer.org> | 2024-07-22 11:01:24 -0400 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2024-08-09 22:55:08 +0300 |
commit | 68316fd0fd776d80934548fbadd90da4d88f954a (patch) | |
tree | a555fd21f76ac3255db64e4867c6ab128f1c5856 /indra | |
parent | ac75cd98fc526f2f2945093b611ee6e321ceecfa (diff) |
Fix nullptr crash in LLInvFVBridge::getClipboardEntries
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llinventorybridge.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index 81d738cf42..33d0ac891d 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -961,7 +961,7 @@ void LLInvFVBridge::getClipboardEntries(bool show_asset_id, } } - if (obj->getType() != LLAssetType::AT_CATEGORY) + if (obj && obj->getType() != LLAssetType::AT_CATEGORY) { items.push_back(std::string("Paste Separator")); } |