commit | 64c46b098b969502a74c8b0fd97e6f5e4aa07e21 | [log] [tgz] |
---|---|---|
author | Jack Miller <jack@codezen.org> | Wed Apr 29 14:02:24 2015 -0500 |
committer | David Gibson <david@gibson.dropbear.id.au> | Thu Apr 30 10:55:41 2015 +1000 |
tree | d205f6b4d717b41d367c20d1a57bdf73dc680852 | |
parent | 9d3649bd3be245c93c9d92024ef4e618179dbad1 [diff] |
Fix crash with poorly defined #size-cells If you have a parent block with #size-cells improperly set to 0, and then subsequently try to include a regs property in the child, dtc will crash with SIGFPE while validating it. This patch fixes that crash, instead printing the same invalid length warning that was causing it. Test included. Signed-off-by: Jack Miller <jack@codezen.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>