public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [scripts/docproc.c:398]: (error) Common realloc mistake
@ 2014-11-06 12:42 Wolfgang Denk
  2014-11-06 13:27 ` Marek Vasut
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Denk @ 2014-11-06 12:42 UTC (permalink / raw)
  To: u-boot

Hello,

cppcheck reports:

[scripts/docproc.c:398]: (error) Common realloc mistake: 'data' nulled
but not freed upon failure
[scripts/docproc.c:422]: (error) Common realloc mistake: 'all_list'
nulled but not freed upon failure

can you please have a look?  Thanks!

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
F u cn rd ths u cnt spl wrth a dm!

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] [scripts/docproc.c:398]: (error) Common realloc mistake
  2014-11-06 12:42 [U-Boot] [scripts/docproc.c:398]: (error) Common realloc mistake Wolfgang Denk
@ 2014-11-06 13:27 ` Marek Vasut
  0 siblings, 0 replies; 2+ messages in thread
From: Marek Vasut @ 2014-11-06 13:27 UTC (permalink / raw)
  To: u-boot

On Thursday, November 06, 2014 at 01:42:41 PM, Wolfgang Denk wrote:
> Hello,

Hello,

> cppcheck reports:
> 
> [scripts/docproc.c:398]: (error) Common realloc mistake: 'data' nulled
> but not freed upon failure
> [scripts/docproc.c:422]: (error) Common realloc mistake: 'all_list'
> nulled but not freed upon failure
> 
> can you please have a look?  Thanks!

This looks unresolved in mainline Linux as well. I'm currently really
pressed, so I cannot take an immediate action. I believe it would be
worth reporting it to mainline Linux guys as well though.

Best regards,
Marek Vasut

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-06 13:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-06 12:42 [U-Boot] [scripts/docproc.c:398]: (error) Common realloc mistake Wolfgang Denk
2014-11-06 13:27 ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox