$ the-wire · showcase
Swift backs out ARC call pruning, Kotlin closes JS security advisories
By RepoJournal · Filed · About Mobile platforms · Composed from the cited sources · methodology
Swift's ARCSequenceOpts stopped treating calls with non-escapable arguments as escapes, which could delete retain/release pairs around a value the call still depends on, and Kotlin's JS toolchain closed a batch of security advisories.
ARCSequenceOpts: treat calls with non-escapable arguments as guaranteed uses apple/swift
A non-escapable argument like a Span can depend on a reference-counted value through mark_dependence without holding a reference, so ARC analysis never saw the use and removed the retain/release pair around the call, leaving a use-after-free. Erik Eckstein's fix treats any call with a non-escapable argument as a guaranteed use rather than teaching ARC to trace the dependence, since ARCSequenceO...
Close JS security avisories JetBrains/kotlin
The commit closes a run of JS security advisories tracked under KT-90987 through KT-90980 and KT-90493 through KT-90775, per the commit message. No fixed version is named in the change itself, so check your Kotlin/JS toolchain against the advisory list before deciding whether you are exposed.
Allow `borrowing` on `@once` and `@callable(once)` parameters apple/swift
A parameter of an at-most-once or exactly-once function type is consuming by default, and the compiler rejected borrowing on it outright. A borrowed function value cannot be called, since calling consumes it, but it can still be inspected for type or isolation or passed to another borrowing parameter.
[Android] Skip the HardwareBuffer defect fallback for platform views (#193441) flutter/flutter
The Huawei API <= 29 fallback to SurfaceTextureSurfaceProducer, added for plugins like video_player that hand the surface to MediaCodec, was also being applied to platform views going through Texture Layer Hybrid Composition. On Huawei JNY-LX1 / Android 10 that breaks TextureView-backed platform views.
SIL: a big overhaul of SIL and ownership verification apple/swift
Ownership verification was its own pass with its own API, flags and test harness; it now lives inside Verification.swift and so also runs in compilers built without assertions. The core verification algorithms are unchanged.