On Mon, Aug 22, 2016 at 2:14 PM, Nicholas Nethercote
<n.netherc...@gmail.com> wrote:
>
> If you file a bug to add [must_use] or MOZ_MUST_USE somewhere, please make the
> bug block the tracking bug

Some recent work on this front:

- Jan Varga used [must_use] in nsIQuota{ManagerService,Requests}.idl:
https://bugzilla.mozilla.org/show_bug.cgi?id=1297056

- Wei-Cheng Pan is using MOZ_MUST_USE in uriloader/:
https://bugzilla.mozilla.org/show_bug.cgi?id=1293212

It's a good start, but barely scratches the surface! Let's keep them coming.

More motivation:
https://bugzilla.mozilla.org/show_bug.cgi?id=1290350#c6 explains how
an OOM crash that I thought I had straightforwardly fixed turns out to
be not so straightforward after all, due to missing checks.

Nick
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to