FAppleHTTP GetContent() crash content size = 0

Build Type: Affects binary and source

Build version: 4.14 and 4.15

NSData* Body = Request.HTTPBody; // accessing HTTPBody will call copy on the value, increasing its retain count
RequestPayload.Empty();
    RequestPayload.Append((const uint8*)Body.bytes, Body.length);

If Body.length = 0 RequestPayload.Append() will cause crash

Hello Bassist66,

As someone who isn’t familiar with this function, could you provide a reproduction case of some sort? Also, do you have a callstack for the crash in question? Any logs?

We haven’t heard from you in a while, Bassist66. Are you still experiencing this issue? If so, can you provide the information that I requested? In the meantime, I’ll be marking this issue as resolved for tracking purposes.