From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VqABC-0002Fi-HG for mharc-grub-devel@gnu.org; Mon, 09 Dec 2013 18:23:58 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqAB0-0002Dv-FJ for grub-devel@gnu.org; Mon, 09 Dec 2013 18:23:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VqAAp-0003k9-FH for grub-devel@gnu.org; Mon, 09 Dec 2013 18:23:46 -0500 Received: from mail-ee0-x22d.google.com ([2a00:1450:4013:c00::22d]:42918) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqAAp-0003k4-84 for grub-devel@gnu.org; Mon, 09 Dec 2013 18:23:35 -0500 Received: by mail-ee0-f45.google.com with SMTP id d49so1880452eek.4 for ; Mon, 09 Dec 2013 15:23:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=gNVYcWpTB11XeNdtqec3EQ+NRVkKGDIwvysX6lUxEpU=; b=Vpa57t4e6dxZrblZPFQ6ds3S3f62tV37Hvnjbl5PVCemIYjlZa859yJbXfNnmSW/dt FRfIbUSSGDPQiaL0FFlo+zVnA6mPcxwz5SBNQNkRpYIHGEtGvpy5R6lxK8zwpWaqaG9Z +0E99bP+3Dnku1C3lFneF7LfR+IkQ9TkGEaoXZGLbrlQm8gqlQEPK2DR8/SkrlAeYGah OyYthKy0hLrazkp04vVwhCuCLq3ZKb4pAdHS9h/0E/XUJmX3Xs6324Fm4NZWVLAmoHsL Q2mcWsk+jDzvb7yAhE7K+dG7jfrH5MEUsC7yMNwh0eqYY5cRb8mCu5Os4FBdGeL9SO8x LJjQ== X-Received: by 10.15.53.193 with SMTP id r41mr14957261eew.2.1386631413201; Mon, 09 Dec 2013 15:23:33 -0800 (PST) Received: from [192.168.1.16] (85-188.196-178.cust.bluewin.ch. [178.196.188.85]) by mx.google.com with ESMTPSA id v7sm34205622eel.2.2013.12.09.15.23.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 09 Dec 2013 15:23:32 -0800 (PST) Message-ID: <52A650F3.1050509@gmail.com> Date: Tue, 10 Dec 2013 00:23:31 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: [PATCH v4] Support to disable reed-solomon codes References: <1386618897-17163-1-git-send-email-jonmccune@google.com> In-Reply-To: <1386618897-17163-1-git-send-email-jonmccune@google.com> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="DiNjkNN786w1SR9quSp103jiTOQAFWBSd" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::22d X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Dec 2013 23:23:55 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --DiNjkNN786w1SR9quSp103jiTOQAFWBSd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > + /* Round up to the nearest sector boundary, and zero the extra mem= ory */ > core_img =3D realloc (core_img, nsec * GRUB_DISK_SECTOR_SIZE); > + assert (core_img && (nsec * GRUB_DISK_SECTOR_SIZE >=3D core_size))= ; Can you change that to xrealloc while on it? Other than this, go ahead. --DiNjkNN786w1SR9quSp103jiTOQAFWBSd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlKmUPMACgkQmBXlbbo5nOv2iQD/XI0QwDusVaggBM1PL+ei8Olu UIB86aT6O3XZrrE8e2QA/RYqTxUDavMVqjzehMd82KeSgMiSgkTemfY7rTAaSlUI =hB4D -----END PGP SIGNATURE----- --DiNjkNN786w1SR9quSp103jiTOQAFWBSd--