Sorry, I sent the email to the wrong address.

2023年11月22日(水) 10:44 ASOU Masato <[email protected]>:
>
> ok?
> --
> ASOU Masato
>
> Index: sys/kern/kern_physio.c
> ===================================================================
> RCS file: /cvs/src/sys/kern/kern_physio.c,v
> diff -u -p -r1.47 kern_physio.c
> --- sys/kern/kern_physio.c      20 Feb 2020 16:26:01 -0000      1.47
> +++ sys/kern/kern_physio.c      22 Nov 2023 00:47:34 -0000
> @@ -113,8 +113,8 @@ physio(void (*strategy)(struct buf *), d
>                         /*
>                          * Because iov_len is size_t (unsigned) but b_bcount 
> is
>                          * long (signed), an overflow is possible. Therefore
> -                        * limit b_bcount to LONG_MAX before calling
> the provided
> -                        * minphys.
> +                        * limit b_bcount to LONG_MAX before calling the
> +                        * provided minphys.
>                          */
>                         if (iovp->iov_len > LONG_MAX)
>                                 bp->b_bcount = LONG_MAX;

Reply via email to