public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Travis B. Sawyer <tsawyer+u-boot@sandburst.com>
To: u-boot@lists.denx.de
Subject: PATCH:  Re: [U-Boot-Users] malloc with no return check?
Date: Mon, 18 Jul 2005 22:22:39 -0400	[thread overview]
Message-ID: <42DC63EF.2020507@sandburst.com> (raw)
In-Reply-To: <c166aa9f050718140870446f97@mail.gmail.com>

Andrew Dyer wrote:
> I noticed the au1xxx ethernet driver has a malloc where the return
> value isn't checked.
> I did some more looking while waiting for a slow flash programmer and at least
> these files seem to do the same thing:
> 
> ./cpu/ppc4xx/440gx_enet.c
> 

Here's a patch to fix 440gx_enet.c

CHANGELOG
Patch by Travis B. Sawyer, 18 July 2005
Check return value of malloc in 440gx_enet.c

Best regards,

Travis

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 440gx_malloc_fix.patch
Url: http://lists.denx.de/pipermail/u-boot/attachments/20050718/e960ba8a/attachment.txt 

  reply	other threads:[~2005-07-19  2:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-18 21:08 [U-Boot-Users] malloc with no return check? Andrew Dyer
2005-07-19  2:22 ` Travis B. Sawyer [this message]
2005-08-15 12:19   ` PATCH: " Wolfgang Denk
2005-07-26 18:53 ` [U-Boot-Users] PATCH: au1x00_eth.c (was Re: malloc with no return check?) Andrew Dyer
2006-03-13  0:01   ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42DC63EF.2020507@sandburst.com \
    --to=tsawyer+u-boot@sandburst.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox