Here's my string reference counting bug of the day.

Here's my string reference counting bug of the day. Strings passed as parameters can be used after free if the variable is modified between the string being pushed onto the stack and the function being called (e.g. by another function constructing a parameter).

Or am I just doing bad things with strings?

https://quality.embarcadero.com/browse/RSP-20457
https://quality.embarcadero.com/browse/RSP-20457

Comments