[PATCH 5.4 72/93] netrom: check buffer length before accessing it