public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Andrew Dyer <amdyer@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] PATCH: au1x00_eth.c (was Re: malloc with no return check?)
Date: Tue, 26 Jul 2005 13:53:47 -0500	[thread overview]
Message-ID: <c166aa9f050726115354e26978@mail.gmail.com> (raw)
In-Reply-To: <c166aa9f050718140870446f97@mail.gmail.com>

On 7/18/05, Andrew Dyer <amdyer@gmail.com> 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:
> 

here's a patch for the au1x00_eth.c.  I have a lot of other local changes
to this file (mii support), so I hope my editing the patch won't make it
not apply...

ChangeLog
au1x00_eth.c: check malloc return value and abort if it failed


-- 
Hardware, n.:
        The parts of a computer system that can be kicked.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: u-boot-au1x00_eth.c-malloc.diff
Type: text/x-patch
Size: 750 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20050726/78b1c4d7/attachment.bin 

  parent reply	other threads:[~2005-07-26 18:53 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 ` PATCH: " Travis B. Sawyer
2005-08-15 12:19   ` Wolfgang Denk
2005-07-26 18:53 ` Andrew Dyer [this message]
2006-03-13  0:01   ` [U-Boot-Users] PATCH: au1x00_eth.c (was Re: malloc with no return check?) 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=c166aa9f050726115354e26978@mail.gmail.com \
    --to=amdyer@gmail.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