From: Tom Rini Date: Fri, 18 Apr 2014 09:21:55 -0400 Subject: [U-Boot] [U-Boot, v3, 01/10] fw_env.c: Switch get_config to use '%ms' in sscanf In-Reply-To: <1396022622-3527-1-git-send-email-trini@ti.com> References: <1396022622-3527-1-git-send-email-trini@ti.com> Message-ID: <20140418132155.GB5698@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Mar 28, 2014 at 12:03:33PM -0400, Tom Rini wrote: > We currently limit ourself to 16 characters for the device name to read > the environment from. This is insufficient for /dev/mmcblk0boot1 to > work for example. Switch to '%ms' which gives us a dynamically > allocated buffer instead. We're short lived enough to not bother > free()ing the buffer. > > Signed-off-by: Tom Rini Applied to u-boot-ti/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: