Description

Black board key names that are longer than 1024 characters will cause a crash

Steps to Reproduce
  1. Open the editor
  2. Create a new black board
  3. Add a key
  4. Change the name of the key to one that has more than 1024 characters
  5. Notice that the editor crashes

Expected:The user would be given an error that prevents them from putting in a name long enough to cause the crash
Result: The editor crashes when giving the key a name longer than 1024 characters long

Callstack
UE4Editor_Core!FName::InitInternal<wchar_t>() unrealnames.cpp:606 
UE4Editor_Core!FName::InitInternal_HashSplit<wchar_t>() unrealnames.cpp:598 
UE4Editor_Core!FName::Init() unrealnames.cpp:555 
UE4Editor_Core!FName::FName() unrealnames.cpp:432 
UE4Editor_BehaviorTreeEditor!SBehaviorTreeBlackboardItem::OnNameTextCommitted() sbehaviortreeblackboardview.cpp:195 
UE4Editor_BehaviorTreeEditor!TBaseSPMethodDelegateInstance<0,SBehaviorTreeBlackboardItem,0,TTypeWrapper<void> __cdecl() delegateinstancesimpl.h:327 
UE4Editor_BehaviorTreeEditor!TBaseSPMethodDelegateInstance<0,SBehaviorTreeBlackboardItem,0,void __cdecl() delegateinstancesimpl.h:434 
UE4Editor_Slate!TBaseDelegate<void,FText const & __ptr64,enum ETextCommit::Type>::ExecuteIfBound() delegatesignatureimpl.inl:624 
UE4Editor_Slate!SInlineEditableTextBlock::OnTextBoxCommitted() sinlineeditabletextblock.cpp:303 
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SInlineEditableTextBlock,0,TTypeWrapper<void> __cdecl() delegateinstancesimpl.h:327 
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SInlineEditableTextBlock,0,void __cdecl() delegateinstancesimpl.h:434 
UE4Editor_Slate!TBaseDelegate<void,FText const & __ptr64,enum ETextCommit::Type>::ExecuteIfBound() delegatesignatureimpl.inl:624 
UE4Editor_Slate!FSlateEditableTextLayout::HandleFocusLost() slateeditabletextlayout.cpp:693 
UE4Editor_Slate!FSlateApplication::SetUserFocus() slateapplication.cpp:2815 
UE4Editor_Slate!FSlateApplication::SetUserFocus() slateapplication.cpp:2707 
UE4Editor_Slate!FSlateApplication::RoutePointerDownEvent() slateapplication.cpp:5010 
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonDownEvent() slateapplication.cpp:4927 
UE4Editor_Slate!FSlateApplication::OnMouseDown() slateapplication.cpp:4859 
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() windowsapplication.cpp:1706 
UE4Editor_Core!FWindowsApplication::DeferMessage() windowsapplication.cpp:2120 
UE4Editor_Core!FWindowsApplication::ProcessMessage() windowsapplication.cpp:867 
UE4Editor_Core!FWindowsApplication::AppWndProc() windowsapplication.cpp:714 
user32!<Unknown> 
user32!<Unknown> 
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() windowsplatformmisc.cpp:980 
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:2977 
UE4Editor!GuardedMain() launch.cpp:166 
UE4Editor!GuardedMainWrapper() launchwindows.cpp:134 
UE4Editor!WinMain() launchwindows.cpp:210 
UE4Editor!__scrt_common_main_seh() exe_common.inl:264 
kernel32!<Unknown> 
ntdll!<Unknown> 

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-43120 in the post.

0
Login to Vote

Fixed
ComponentUE - AI
Affects Versions4.15
Target Fix4.16
Fix Commit3359864
Main Commit3380073
CreatedMar 21, 2017
ResolvedMar 23, 2017
UpdatedApr 27, 2018
View Jira Issue