Open Source Telephony
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH 4/4] atmodem: sim-auth atom driver.
Date: Fri, 21 Jan 2011 11:25:19 -0600	[thread overview]
Message-ID: <4D39C17F.9050409@gmail.com> (raw)
In-Reply-To: <AANLkTi=J+3mGKBz3RrveP7t3Lcz3jhCL009TAxE-1_wv@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 572 bytes --]

Hi Pekka,

On 01/21/2011 11:07 AM, Pekka Pessi wrote:
> Hi Denis,
> 
> 2011/1/20 Denis Kenzior <denkenz@gmail.com>:
>> My view is that checking mallocs of small structures is pretty much
>> pointless on Linux.
> 
> 
> The glib functions that ofono uses extensively don't do any malloc
> checking, and it makes checking on the  ofono side bit pointless. If
> malloc fails, ofono will crash. If it has not get killed by oom
> police.
> 

Well the g_try_ series do allow you to recover from a bad malloc, which
is what we generally use.

Regards,
-Denis

  reply	other threads:[~2011-01-21 17:25 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-19  8:07 [PATCH 1/4] Remove initialisers for enum ofono_atom_type Andrzej Zaborowski
2011-01-19  8:07 ` [PATCH 1/2] simutil: SIM applications directory decoding utils Andrzej Zaborowski
2011-01-20 17:24   ` Denis Kenzior
2011-01-19  8:07 ` [PATCH 2/2] unit: Add a test for applications directory decoding utility Andrzej Zaborowski
2011-01-20 17:24   ` Denis Kenzior
2011-01-19  8:07 ` [PATCH 2/4] Add SIM authentication atom's driver definitions Andrzej Zaborowski
2011-01-20 17:24   ` Denis Kenzior
2011-01-19  8:07 ` [PATCH 3/4] Add the sim-auth atom Andrzej Zaborowski
2011-01-20 17:25   ` Denis Kenzior
2011-01-19  8:07 ` [PATCH 4/4] atmodem: sim-auth atom driver Andrzej Zaborowski
2011-01-20 16:21   ` Jeevaka.Badrappan
2011-01-20 17:30     ` Denis Kenzior
2011-01-21 17:07       ` Pekka Pessi
2011-01-21 17:25         ` Denis Kenzior [this message]
2011-01-20 17:25   ` Denis Kenzior
2011-01-20 17:23 ` [PATCH 1/4] Remove initialisers for enum ofono_atom_type Denis Kenzior

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=4D39C17F.9050409@gmail.com \
    --to=denkenz@gmail.com \
    --cc=ofono@ofono.org \
    /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