msdosfs: fixes for Undefined Behavior
authorsf <sf@openbsd.org>
Fri, 16 Jun 2023 08:42:08 +0000 (08:42 +0000)
committersf <sf@openbsd.org>
Fri, 16 Jun 2023 08:42:08 +0000 (08:42 +0000)
commit962873417674167d31ba9ef08dd8e7bf20468941
treeddd703d6f1a9c09b804348af5d7120c09d1a69ed
parentc112ffb67b4e79c3c5e049f6993d90da44a1bad3
msdosfs: fixes for Undefined Behavior

From FreeBSD commits

  commit c0db7289c3de290d821311942d5533f2284af77f
  Author: pfg <pfg@FreeBSD.org>
  Date:   Wed Aug 8 15:08:22 2018 +0000

  commit 852150953b828e4e8c32789637061001158a8cf4
  Author: kib <kib@FreeBSD.org>
  Date:   Fri Oct 11 18:37:02 2019 +0000

ok bluhm@
sys/msdosfs/msdosfs_fat.c