[PATCH] Remove hardcoded static string length
Andrew Lunn
andrew at lunn.ch
Wed May 24 09:01:42 PDT 2023
> I don't think there is an RFC describing RX, but the closest thing to
> a spec (https://web.mit.edu/kolya/afs/rx/rx-spec) states:
>
> "If a server receives a packet with a type value of 13, and the
> client-initiated flag set, it should respond with a 65-byte payload
> containing a string that identifies the version of AFS software it is
> running."
>
> So while it may not actually cause any issues (the few things that
> look at the data just truncate past 65), it's probably best to keep
> the response at a fixed 65 bytes.
Thanks for the link and the quote.
So the compiler warning/error needs to be fixed a different want.
Andrew
---
pw-bot: cr
More information about the linux-afs
mailing list