Thread (6 messages) 6 messages, 3 authors, 2016-09-21

Re: [PATCH v2 1/3] state: copy backend of_path string

From: Antony Pavlov <hidden>
Date: 2016-09-16 08:09:25

On Fri, 16 Sep 2016 08:43:38 +0200
Michael Olbrich [off-list ref] wrote:
Caching pointers to device tree nodes or names is not save. The barebox
                                                        ^^^^ safe?
internal device tree may be changed by loading a new device tree or through
fixup handlers. As a result, the string may be deleted.
Use local copies of the full path instead.

Signed-off-by: Michael Olbrich <redacted>
-- 
Best regards,
  Antony Pavlov

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help