[serialization] Don't copy the record buffer when reading with BCRecordLayout.
[serialization] Don't copy the record buffer when reading with BCRecordLayout.

This led to scary use-after-free of the copied temporary buffers.

Swift SVN r6225

lorentey/swift,ahoppen/swift,airspeedswift/swift,tjw/swift,gribozavr/swift,sdulal/swift,cbrentharris/swift,huonw/swift,gmilos/swift,benlangmuir/swift,khizkhiz/swift,hooman/swift,manavgabhawala/swift,modocache/swift,russbishop/swift,SwiftAndroid/swift,djwbrown/swift,jopamer/swift,tjw/swift,therealbnut/swift,atrick/swift,tardieu/swift,stephentyrone/swift,harlanhaskins/swift,cbrentharris/swift,gmilos/swift,KrishMunot/swift,apple/swift,ken0nek/swift,devincoughlin/swift,lorentey/swift,cbrentharris/swift,swiftix/swift.old,tjw/swift,KrishMunot/swift,Ivacker/swift,SwiftAndroid/swift,glessard/swift,therealbnut/swift,benlangmuir/swift,practicalswift/swift,roambotics/swift,hooman/swift,kusl/swift,LeoShimonaka/swift,frootloops/swift,natecook1000/swift,kentya6/swift,zisko/swift,parkera/swift,johnno1962d/swift,devincoughlin/swift,gottesmm/swift,kperryua/swift,gottesmm/swift,karwa/swift,xwu/swift,MukeshKumarS/Swift,dduan/swift,jopamer/swift,gribozavr/swift,devincoughlin/swift,tardieu/swift,benlangmuir/swift,Ivacker/swift,devincoughlin/swift,dduan/swift,brentdax/swift,glessard/swift,allevato/swift,roambotics/swift,IngmarStein/swift,gregomni/swift,zisko/swift,kusl/swift,kperryua/swift,benlangmuir/swift,jmgc/swift,frootloops/swift,uasys/swift,zisko/swift,lorentey/swift,therealbnut/swift,kperryua/swift,shajrawi/swift,rudkx/swift,uasys/swift,djwbrown/swift,xedin/swift,felix91gr/swift,swiftix/swift,gregomni/swift,gribozavr/swift,uasys/swift,russbishop/swift,jopamer/swift,brentdax/swift,IngmarStein/swift,hughbe/swift,kstaring/swift,parkera/swift,zisko/swift,stephentyrone/swift,emilstahl/swift,ahoppen/swift,stephentyrone/swift,emilstahl/swift,kentya6/swift,OscarSwanros/swift,natecook1000/swift,airspeedswift/swift,aschwaighofer/swift,practicalswift/swift,mightydeveloper/swift,jtbandes/swift,russbishop/swift,practicalswift/swift,xedin/swift,kentya6/swift,xedin/swift,codestergit/swift,OscarSwanros/swift,sschiau/swift,karwa/swift,gottesmm/swift,karwa/swift,gottesmm/swift,JaSpa/swift,dduan/swift,hooman/swift,bitjammer/swift,tardieu/swift,jopamer/swift,nathawes/swift,shajrawi/swift,MukeshKumarS/Swift,therealbnut/swift,karwa/swift,tinysun212/swift-windows,johnno1962d/swift,Jnosh/swift,kperryua/swift,bitjammer/swift,sdulal/swift,devincoughlin/swift,tjw/swift,LeoShimonaka/swift,jmgc/swift,jtbandes/swift,IngmarStein/swift,aschwaighofer/swift,xedin/swift,slavapestov/swift,tkremenek/swift,rudkx/swift,shajrawi/swift,JGiola/swift,aschwaighofer/swift,xedin/swift,OscarSwanros/swift,jtbandes/swift,Ivacker/swift,IngmarStein/swift,jckarter/swift,lorentey/swift,milseman/swift,jopamer/swift,alblue/swift,modocache/swift,gribozavr/swift,stephentyrone/swift,glessard/swift,felix91gr/swift,MukeshKumarS/Swift,parkera/swift,return/swift,return/swift,CodaFi/swift,tinysun212/swift-windows,huonw/swift,parkera/swift,amraboelela/swift,brentdax/swift,gmilos/swift,IngmarStein/swift,frootloops/swift,tardieu/swift,codestergit/swift,danielmartin/swift,JaSpa/swift,natecook1000/swift,xwu/swift,swiftix/swift.old,Jnosh/swift,tinysun212/swift-windows,OscarSwanros/swift,adrfer/swift,sschiau/swift,kentya6/swift,apple/swift,manavgabhawala/swift,uasys/swift,frootloops/swift,rudkx/swift,huonw/swift,alblue/swift,airspeedswift/swift,KrishMunot/swift,khizkhiz/swift,arvedviehweger/swift,gottesmm/swift,aschwaighofer/swift,swiftix/swift.old,austinzheng/swift,KrishMunot/swift,aschwaighofer/swift,kstaring/swift,kentya6/swift,xedin/swift,emilstahl/swift,hughbe/swift,brentdax/swift,huonw/swift,bitjammer/swift,jckarter/swift,jckarter/swift,kentya6/swift,JGiola/swift,harlanhaskins/swift,ken0nek/swift,tjw/swift,stephentyrone/swift,slavapestov/swift,tardieu/swift,djwbrown/swift,gregomni/swift,uasys/swift,milseman/swift,shahmishal/swift,adrfer/swift,shajrawi/swift,sdulal/swift,manavgabhawala/swift,ben-ng/swift,ken0nek/swift,xwu/swift,codestergit/swift,airspeedswift/swift,natecook1000/swift,milseman/swift,ben-ng/swift,jtbandes/swift,frootloops/swift,swiftix/swift,kstaring/swift,rudkx/swift,kstaring/swift,sdulal/swift,djwbrown/swift,shahmishal/swift,calebd/swift,CodaFi/swift,adrfer/swift,jtbandes/swift,tardieu/swift,Ivacker/swift,ben-ng/swift,return/swift,allevato/swift,kusl/swift,ken0nek/swift,rudkx/swift,practicalswift/swift,KrishMunot/swift,kperryua/swift,apple/swift,Jnosh/swift,jmgc/swift,alblue/swift,arvedviehweger/swift,jckarter/swift,allevato/swift,slavapestov/swift,OscarSwanros/swift,JGiola/swift,return/swift,ahoppen/swift,glessard/swift,arvedviehweger/swift,tjw/swift,CodaFi/swift,modocache/swift,atrick/swift,huonw/swift,IngmarStein/swift,uasys/swift,SwiftAndroid/swift,slavapestov/swift,ben-ng/swift,cbrentharris/swift,ahoppen/swift,shajrawi/swift,zisko/swift,karwa/swift,frootloops/swift,manavgabhawala/swift,Jnosh/swift,emilstahl/swift,natecook1000/swift,SwiftAndroid/swift,sdulal/swift,practicalswift/swift,danielmartin/swift,milseman/swift,parkera/swift,gmilos/swift,therealbnut/swift,russbishop/swift,OscarSwanros/swift,kusl/swift,roambotics/swift,return/swift,lorentey/swift,Ivacker/swift,lorentey/swift,calebd/swift,devincoughlin/swift,LeoShimonaka/swift,airspeedswift/swift,tardieu/swift,khizkhiz/swift,return/swift,roambotics/swift,modocache/swift,gribozavr/swift,alblue/swift,LeoShimonaka/swift,nathawes/swift,LeoShimonaka/swift,jckarter/swift,deyton/swift,JaSpa/swift,therealbnut/swift,nathawes/swift,bitjammer/swift,adrfer/swift,brentdax/swift,gottesmm/swift,ken0nek/swift,shahmishal/swift,danielmartin/swift,parkera/swift,apple/swift,kstaring/swift,danielmartin/swift,KrishMunot/swift,swiftix/swift.old,sdulal/swift,modocache/swift,felix91gr/swift,karwa/swift,emilstahl/swift,stephentyrone/swift,deyton/swift,kperryua/swift,kperryua/swift,shahmishal/swift,codestergit/swift,emilstahl/swift,devincoughlin/swift,hughbe/swift,Ivacker/swift,gregomni/swift,calebd/swift,austinzheng/swift,CodaFi/swift,harlanhaskins/swift,swiftix/swift,devincoughlin/swift,cbrentharris/swift,parkera/swift,gmilos/swift,jmgc/swift,modocache/swift,SwiftAndroid/swift,therealbnut/swift,airspeedswift/swift,austinzheng/swift,allevato/swift,ben-ng/swift,tinysun212/swift-windows,deyton/swift,benlangmuir/swift,alblue/swift,swiftix/swift,natecook1000/swift,hughbe/swift,KrishMunot/swift,tkremenek/swift,felix91gr/swift,ben-ng/swift,mightydeveloper/swift,jmgc/swift,JGiola/swift,uasys/swift,MukeshKumarS/Swift,arvedviehweger/swift,MukeshKumarS/Swift,kstaring/swift,russbishop/swift,LeoShimonaka/swift,sdulal/swift,tkremenek/swift,ahoppen/swift,jtbandes/swift,russbishop/swift,brentdax/swift,amraboelela/swift,sschiau/swift,amraboelela/swift,codestergit/swift,nathawes/swift,shahmishal/swift,dreamsxin/swift,glessard/swift,lorentey/swift,xwu/swift,manavgabhawala/swift,atrick/swift,dduan/swift,codestergit/swift,bitjammer/swift,adrfer/swift,hughbe/swift,mightydeveloper/swift,arvedviehweger/swift,modocache/swift,adrfer/swift,rudkx/swift,danielmartin/swift,austinzheng/swift,kentya6/swift,johnno1962d/swift,deyton/swift,aschwaighofer/swift,alblue/swift,xwu/swift,Jnosh/swift,gmilos/swift,deyton/swift,swiftix/swift.old,felix91gr/swift,slavapestov/swift,milseman/swift,arvedviehweger/swift,nathawes/swift,gottesmm/swift,zisko/swift,codestergit/swift,mightydeveloper/swift,xwu/swift,xedin/swift,JaSpa/swift,sschiau/swift,Jnosh/swift,sschiau/swift,deyton/swift,ken0nek/swift,shahmishal/swift,johnno1962d/swift,dduan/swift,nathawes/swift,kusl/swift,allevato/swift,jopamer/swift,cbrentharris/swift,hooman/swift,sschiau/swift,JGiola/swift,shajrawi/swift,Jnosh/swift,cbrentharris/swift,ben-ng/swift,amraboelela/swift,LeoShimonaka/swift,ken0nek/swift,IngmarStein/swift,manavgabhawala/swift,jtbandes/swift,austinzheng/swift,hooman/swift,gribozavr/swift,gregomni/swift,felix91gr/swift,tinysun212/swift-windows,khizkhiz/swift,swiftix/swift,LeoShimonaka/swift,brentdax/swift,calebd/swift,karwa/swift,khizkhiz/swift,gribozavr/swift,SwiftAndroid/swift,nathawes/swift,natecook1000/swift,return/swift,manavgabhawala/swift,Ivacker/swift,swiftix/swift.old,kusl/swift,harlanhaskins/swift,jmgc/swift,tkremenek/swift,mightydeveloper/swift,djwbrown/swift,djwbrown/swift,sschiau/swift,milseman/swift,allevato/swift,jckarter/swift,apple/swift,felix91gr/swift,amraboelela/swift,kentya6/swift,calebd/swift,swiftix/swift,tinysun212/swift-windows,JGiola/swift,swiftix/swift.old,danielmartin/swift,kusl/swift,practicalswift/swift,xedin/swift,MukeshKumarS/Swift,stephentyrone/swift,roambotics/swift,JaSpa/swift,atrick/swift,danielmartin/swift,milseman/swift,harlanhaskins/swift,slavapestov/swift,Ivacker/swift,amraboelela/swift,shajrawi/swift,tjw/swift,slavapestov/swift,gregomni/swift,parkera/swift,aschwaighofer/swift,khizkhiz/swift,jmgc/swift,johnno1962d/swift,calebd/swift,shajrawi/swift,kusl/swift,mightydeveloper/swift,huonw/swift,atrick/swift,hooman/swift,jckarter/swift,atrick/swift,austinzheng/swift,jopamer/swift,allevato/swift,amraboelela/swift,mightydeveloper/swift,dduan/swift,JaSpa/swift,emilstahl/swift,CodaFi/swift,bitjammer/swift,calebd/swift,sdulal/swift,airspeedswift/swift,MukeshKumarS/Swift,tkremenek/swift,tinysun212/swift-windows,tkremenek/swift,gribozavr/swift,shahmishal/swift,ahoppen/swift,practicalswift/swift,emilstahl/swift,roambotics/swift,karwa/swift,SwiftAndroid/swift,kstaring/swift,zisko/swift,hooman/swift,cbrentharris/swift,swiftix/swift,apple/swift,tkremenek/swift,CodaFi/swift,hughbe/swift,glessard/swift,practicalswift/swift,bitjammer/swift,frootloops/swift,austinzheng/swift,JaSpa/swift,arvedviehweger/swift,harlanhaskins/swift,russbishop/swift,OscarSwanros/swift,xwu/swift,benlangmuir/swift,gmilos/swift,djwbrown/swift,sschiau/swift,mightydeveloper/swift,harlanhaskins/swift,hughbe/swift,lorentey/swift,CodaFi/swift,deyton/swift,johnno1962d/swift,johnno1962d/swift,huonw/swift,khizkhiz/swift,dreamsxin/swift,dduan/swift,swiftix/swift.old,adrfer/swift,alblue/swift,shahmishal/swift