Browse Source
Currently, attempting to divide by zero in an integer expression in a dts file will cause dtc to crash with a division by zero (SIGFPE). This patch corrects this to properly detect this case and raise an error. Reported-by: Anton Blanchard <anton@samba.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>main
David Gibson
9 years ago
3 changed files with 16 additions and 1 deletions
@ -0,0 +1,5 @@
@@ -0,0 +1,5 @@
|
||||
/dts-v1/; |
||||
|
||||
/ { |
||||
prop = < (1/0) >; |
||||
}; |
Loading…
Reference in new issue