Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2001 01:16:57 -0800
From:      Alfred Perlstein <alfred@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Cc:        kris@FreeBSD.org
Subject:   Re: cvs commit: src/sys/net if_media.c
Message-ID:  <20010226011657.A8663@fw.wintelcom.net>
In-Reply-To: <200102260907.f1Q97tj33559@freefall.freebsd.org>; from alfred@FreeBSD.org on Mon, Feb 26, 2001 at 01:07:55AM -0800
References:  <200102260907.f1Q97tj33559@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This needs to be MFC'd _urgently_, but i have to catch a plane
early tomrrow, can someone make sure this gets tested and committed
to releng4?

thanks.

* Alfred Perlstein <alfred@FreeBSD.org> [010226 01:07] wrote:
> alfred      2001/02/26 01:07:55 PST
> 
>   Modified files:
>     sys/net              if_media.c 
>   Log:
>   Santize a size variable passed to kernel malloc.
>   
>   Since we know there's always an upper bound we force that bound,
>   otherwise users can cause a panic via malloc getting hit with a
>   odd (huge or negative) amount of memory to allocate.
>   
>   Tested by: kris
>   Pointed out by: Andrey Valyaev <dron@infosec.ru>
>   
>   Revision  Changes    Path
>   1.12      +21 -11    src/sys/net/if_media.c

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010226011657.A8663>