ReClass.NET icon indicating copy to clipboard operation
ReClass.NET copied to clipboard

When editing text value pad with NULL bytes?

Open LiamKarlMitchell opened this issue 6 years ago • 1 comments

Text value edits in memory should pad with null bytes.

I noticed when editing a text value in memory It was not terminating the string with a null byte.

Edit a Text8 type value to "This is a test" Edit it again to "bob"

Expectation text value is "bob"

But it is showing up as "bobs is a test" as it does a strcpy of length of input string only.

image

LiamKarlMitchell avatar Jun 30 '19 00:06 LiamKarlMitchell

See #36 and #115.

KN4CK3R avatar Jun 30 '19 09:06 KN4CK3R