From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1S1uXc-0001a7-MU for mharc-grub-devel@gnu.org; Mon, 27 Feb 2012 01:58:36 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33275) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1uXb-0001a1-2I for grub-devel@gnu.org; Mon, 27 Feb 2012 01:58:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S1uXa-0003yJ-0y for grub-devel@gnu.org; Mon, 27 Feb 2012 01:58:34 -0500 Received: from spam1.wiktel.com ([69.89.207.151]:54527) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1uXZ-0003y9-R9 for grub-devel@gnu.org; Mon, 27 Feb 2012 01:58:33 -0500 Received: from [172.16.7.82] ([66.135.231.130]) (authenticated bits=0) by spam1.wiktel.com (8.13.5.20060308/8.13.5/Debian-3ubuntu1.1) with ESMTP id q1R6wSeZ026941; Mon, 27 Feb 2012 00:58:28 -0600 Subject: Re: Freeze on 27 February From: Richard Laager To: Vladimir =?UTF-8?Q?=27=CF=86-coder/phcoder=27?= Serbinenko In-Reply-To: <4F45DDF0.2090908@gmail.com> References: <4F43C25C.2040106@gmail.com> <1329888906.16648.134.camel@watermelon.coderich.net> <4F45DDF0.2090908@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-ApOdc1T4HKiLvFKSyNRn" Date: Mon, 27 Feb 2012 00:58:27 -0600 Message-ID: <1330325907.2901.28.camel@watermelon.coderich.net> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 X-bounce-key: wiktel.com-1; rlaager@wiktel.com; 1330325909; mbRb0WqhN0jWdlhJBp0JBlzMlmA; X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 69.89.207.151 Cc: The development of GRUB 2 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, 27 Feb 2012 06:58:36 -0000 --=-ApOdc1T4HKiLvFKSyNRn Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2012-02-23 at 07:34 +0100, Vladimir '=CF=86-coder/phcoder' Serbinen= ko wrote: > > zfs-poolname-spaces.patch > ... > > @@ -420,6 +419,9 @@ > > if (sscanf (sep, "%s %s", entry.fstype, entry.device) !=3D 2) > > continue; > > > > + unescape (entry.fstype); > > + unescape (entry.device); > > + > You need to increase the size of storage for these fields. On second look... why? The unescape() function modifies the string in place, and it changes multi-character escape sequences into single unescaped characters. I don't understand how this would change the size requirement. --=20 Richard --=-ApOdc1T4HKiLvFKSyNRn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAk9LKY0ACgkQbfU6uV4fG8675ACg9TfoUWNssvW1MwrHLmoir9ye QZQAmwZXJdrIaeqonBBzGOB2EajFgNWh =4s9g -----END PGP SIGNATURE----- --=-ApOdc1T4HKiLvFKSyNRn--