[Crosstoolchain-logs] [device-tree-compiler] 87/357: ftdump missing be32_to_cpu() on size cell.

Hector Oron zumbi at moszumanska.debian.org
Thu Dec 8 17:05:53 UTC 2016


This is an automated email from the git hooks/post-receive script.

zumbi pushed a commit to branch upstream/1.3.x
in repository device-tree-compiler.

commit 001430072fe321fe41c82478917b06c8d9ffdbbe
Author: Ed Swarthout <Ed.Swarthout at freescale.com>
Date:   Wed Mar 14 17:33:19 2007 -0500

    ftdump missing be32_to_cpu() on size cell.
---
 ftdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ftdump.c b/ftdump.c
index 67c5228..55209b6 100644
--- a/ftdump.c
+++ b/ftdump.c
@@ -142,7 +142,7 @@ static void dump_blob(void *blob)
 			fprintf(stderr, "%*s ** Unknown tag 0x%08x\n", depth * shift, "", tag);
 			break;
 		}
-		sz = GET_CELL(p);
+		sz = be32_to_cpu(GET_CELL(p));
 		s = p_strings + be32_to_cpu(GET_CELL(p));
 		if (version < 16 && sz >= 8)
 			p = PALIGN(p, 8);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/device-tree-compiler.git



More information about the Crosstoolchain-logs mailing list