[PATCH 06/17] Add parser for device filter objects

Denis Kenzior denkenz at gmail.com
Tue Apr 20 14:56:44 PDT 2010


Hi Yang,

> +	df->dev_filter = g_try_malloc(df->len);
> +	if (df->dev_filter == NULL)
> +		return FALSE;

Again, you might want to handle 0 byte objects here or error out.

Regards,
-Denis


More information about the ofono mailing list