From: Andrew Dyer <amdyer@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] malloc with no return check?
Date: Mon, 18 Jul 2005 16:08:46 -0500 [thread overview]
Message-ID: <c166aa9f050718140870446f97@mail.gmail.com> (raw)
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:
./drivers/ns8382x.c
./drivers/bcm570x.c
./drivers/rtl8139.c
./drivers/eepro100.c
./drivers/dc2114x.c
./drivers/e1000.c
./drivers/sk98lin/skge.c
./drivers/cfb_console.c
./drivers/natsemi.c
./drivers/inca-ip_sw.c
./drivers/rtl8169.c
./drivers/pcnet.c
./cpu/mips/au1x00_eth.c
./cpu/ppc4xx/serial.c
./cpu/ppc4xx/405gp_enet.c
./cpu/ppc4xx/440gx_enet.c
./cpu/i386/serial.c
./cpu/mpc8xx/scc.c
./common/hush.c
./cpu/mpc8xx/spi.c ?maybe
./cpu/mpc8260/spi.c ?maybe
./cpu/mpc85xx/ether_fcc.c
./cpu/mpc8260/ether_fcc.c
./cpu/mpc5xxx/fec.c
./cpu/mpc8220/fec.c
./tools/easylogo/easylogo.c
I didn't look under the board directory or check all varieties of alloc :-)
I will submit patches for the mips stuff hopefully next week.
--
Hardware, n.:
The parts of a computer system that can be kicked.
next reply other threads:[~2005-07-18 21:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-18 21:08 Andrew Dyer [this message]
2005-07-19 2:22 ` PATCH: Re: [U-Boot-Users] malloc with no return check? Travis B. Sawyer
2005-08-15 12:19 ` 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=c166aa9f050718140870446f97@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