[Fw: Re: [PC-BSD Dev] vmap()-like kernel interface ]

Garrett Cooper yanefbsd at gmail.com
Sun Feb 15 17:22:28 PST 2009


On Fri, Feb 13, 2009 at 1:04 PM, Mario Pavlov <freebsd at abv.bg> wrote:
> Hi,
> please find the attached e-mail
>
> regards
> mgp
>
> P.S. thanks, PC-BSD team

    I'm not a kernel dev, but I noted that pmap_unmapcontig doesn't
take into consideration when va is NULL; I know it's bad driver
programming if uncontig is implicitly called with NULL, but there
should be some error handling or something here (a NULL deref will
occur in pmap_qremove, which will cause a panic).
Thanks,
-Garrett


More information about the freebsd-current mailing list