When the readString length parameter is equal to 0, this one is considered as a null value and the function reads until the end and I think this is not the correct behavior.
Coverage remained the same at 100.0% when pulling abe80ae0c0c1a6f5ec757d83cd04e58c722ccf58 on Seldszar:patch/readstring-zero into bb22df0041732107dcd7492e33dae1c5b63af0ff on JoshGlazebrook:master.
Coverage remained the same at 100.0% when pulling abe80ae0c0c1a6f5ec757d83cd04e58c722ccf58 on Seldszar:patch/readstring-zero into bb22df0041732107dcd7492e33dae1c5b63af0ff on JoshGlazebrook:master.
When the
readString
length parameter is equal to 0, this one is considered as a null value and the function reads until the end and I think this is not the correct behavior.