Description

UK2Node_CallFunction::GeneratePinTooltipFromFunction relies a lot on loops that increment the index used to check the individual characters in the comments.

The problem is that there are a few missing checks, causing an index out of bounds issue.

Steps to Reproduce
  1. Make a blueprint function library
  2. Make a function with a parameter "Teleport"
  3. Set the function's description: "@param Teleport This is a tooltip...", with a final newline character.
  4. Place the function in a blueprint, and mouseover the parameter pin

Expected: The tool tip displays normally
Actual: A crash occurs

Have Comments or More Details?

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

1
Login to Vote

Fixed
Affects Versions4.144.15
Target Fix4.16
Fix Commit3249639
Main Commit3252563
CreatedJan 6, 2017
ResolvedJan 6, 2017
UpdatedApr 27, 2018