Hi, On Sat, 1 Jul 2017 16:07:47 +0200 Marek Vasut wrote: > On 06/30/2017 06:23 PM, Pantelis Antoniou wrote: > [...] > > + buf = malloc(FDT_PATH_MAX); > > + if (!buf) > > + return -FDT_ERR_NOSPACE; > > Would it make sense to allocate this on stack ? > buffers on stack are a disatrous stack overflow waiting to happen.
Lothar Waßmann _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot