From owner-cvs-all Mon Feb 26 1:20: 4 2001 Delivered-To: cvs-all@freebsd.org Received: from critter.freebsd.dk (flutter.freebsd.dk [212.242.40.147]) by hub.freebsd.org (Postfix) with ESMTP id EB47037B491; Mon, 26 Feb 2001 01:19:54 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.1/8.11.1) with ESMTP id f1Q9K7M19465; Mon, 26 Feb 2001 10:20:07 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Alfred Perlstein Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, kris@FreeBSD.org Subject: Re: cvs commit: src/sys/net if_media.c In-Reply-To: Your message of "Mon, 26 Feb 2001 01:16:57 PST." <20010226011657.A8663@fw.wintelcom.net> Date: Mon, 26 Feb 2001 10:20:07 +0100 Message-ID: <19463.983179207@critter> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I can't see why it can't wait the usual 72 hours ? In message <20010226011657.A8663@fw.wintelcom.net>, Alfred Perlstein writes: >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 [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 >> >> Revision Changes Path >> 1.12 +21 -11 src/sys/net/if_media.c > >-- >-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] > -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message