[perl6/specs] 0391fe: doc sub forms of combinations, permutations

2014-01-27 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 0391fe1f158a4ae6fd27f2c740b9fa2269e92d0b https://github.com/perl6/specs/commit/0391fe1f158a4ae6fd27f2c740b9fa2269e92d0b Author: Larry Wall Date: 2014-01-24 (Fri, 24 Jan 2014) Changed paths: M S32-set

P6opaque ends up serialising uninitialised memory

2014-01-27 Thread Nicholas Clark
P6opaque can end up up serialising uninitialised memory. P6opaque's compose() needs to zero the freshly allocated repr_data->unbox_slots. Not all the slots are used, but serialize_repr_data() will serialise all of them, and hence write out garbage to disk. This doesn't cause crashes, because the

Re: P6opaque ends up serialising uninitialised memory

2014-01-27 Thread Nicholas Clark
On Mon, Jan 27, 2014 at 09:43:49PM +, Nicholas Clark wrote: > I don't think that there are that many places where this happens (but I > haven't rigged the build to count them yet), so I don't think that it's > worth adding to the C structures to remember how many slots are used, and > updating