See attached.
Thanks, Ward.
This patch fixes a segfault when a file too large to fit is added to a rom image.
Signed-off-by: Ward Vandewege ward@gnu.org
Index: fs.c =================================================================== --- fs.c (revision 4281) +++ fs.c (working copy) @@ -99,7 +99,7 @@ { /* walk the rom and find an empty file with a base > base, and a large enough size */ unsigned int offset = ntohl(rom->header->offset); - unsigned int ret = -1; + int ret = -1;
Good catch.
Acked-by: Myles Watson mylesgw@gmail.com
Thanks, Myles
On Wed, May 13, 2009 at 02:06:30PM -0600, Myles Watson wrote:
This patch fixes a segfault when a file too large to fit is added to a rom image.
Signed-off-by: Ward Vandewege ward@gnu.org
Index: fs.c
--- fs.c (revision 4281) +++ fs.c (working copy) @@ -99,7 +99,7 @@ { /* walk the rom and find an empty file with a base > base, and a large enough size */ unsigned int offset = ntohl(rom->header->offset);
- unsigned int ret = -1;
- int ret = -1;
Good catch.
Acked-by: Myles Watson mylesgw@gmail.com
r4283
Thanks, Ward.