On Thu, 16 Apr 2020 12:00:04 +0200, Claudio Jeker wrote: > There is a bit of strange code in the ip parser of rpki-client to parse > the AFI. This is a 2byte network byte order value. Instead of using a a > char buf and a short just do everything with a one uint16_t. The current > code does *(uint16_t)buf which is not save since buf is a char array. > Lucky us that the stack ends up enough aligned that this code does not > blow up on strict align archs. Still fix is simple and makes the code much > cleaner.
OK millert@ - todd