Ehsan Akhgari wrote:

On 2014-12-23 5:30 PM, Eric Rescorla wrote:

nothing stops the callee from simple assigning the raw pointer to some location that outlives the function call.

That's actually pretty easy to detect and disallow!  Filed bug 1115175.

Although we want to allow it in the case of another nsCOMPtr of course.

--
Warning: May contain traces of nuts.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to