elric1/heimdal — comment on commit 83056ef81093189f57f57eef7aca563e77bb35cc
File: lib/krb5/replay.c line 222
By elric1:

Good point on the size_t. I forget that too often---although the next set of warning flags that I turn on will make me fix these mistakes. ;-)

Also, it's a count not a number of bytes and it should be compared to 1. I didn't get that bit wrong. The reason that I put the XXXrcd comment
in here is that I'm not entirely sure what to do. I'll go with your suggestion for now. I haven't looked much at the surrounding code to determine
what makes the most sense. KRB5_RC_IO_UNKNOWN will cause the whole authentication to fail, right? This is likely correct, although there are some potential downsides with, e.g. partially written or corrupted files that I think that we should consider in more detail in the future. I.e. how do you recover from this situation, etc.