On Mon, Jul 14, 2014 at 01:44:45PM +0200, Fabiano Fidêncio wrote:
> On Mon, Jul 14, 2014 at 1:30 PM, Marc-André Lureau <mlur...@redhat.com>
> wrote:
> > Could malloc & free do not have annotations like the glib ones.
> >
> > What happens for example if you replace malloc() by g_malloc(), and free()
> > by g_free() in the function below?
> >
> 
> I don't think that would help as one of the Coverity's complaints came
> from: "data = g_malloc(d->area.width * d->area.height * 3);"

Did it complain about an unchecked return value? It could be complaining
about a potential integer overflow when computing how much to alloc.

Christophe

Attachment: pgpAWCzNGHtII.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to