Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161616546
D39846.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
337 B
Referenced Files
None
Subscribers
None
D39846.diff
View Options
diff --git a/sys/arm/ti/ti_sysc.c b/sys/arm/ti/ti_sysc.c
--- a/sys/arm/ti/ti_sysc.c
+++ b/sys/arm/ti/ti_sysc.c
@@ -306,6 +306,9 @@
/* Grab the content of reg properties */
nreg = OF_getproplen(node, "reg");
+ if (nreg <= 0)
+ return (ENXIO);
+
reg = malloc(nreg, M_DEVBUF, M_WAITOK);
OF_getencprop(node, "reg", reg, nreg);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jul 6, 8:23 AM (9 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34745904
Default Alt Text
D39846.diff (337 B)
Attached To
Mode
D39846: Fix BeagleBone Black panic on system start
Attached
Detach File
Event Timeline
Log In to Comment