Dashboard › opencode › PTY encoded argv bounds
01a07f25-9179-7465-80a9-3ed4240e99f9Trap: bounding argument count and each raw argument looks sufficient, but shell serialization—especially embedded single quotes—can expand a valid-looking argv beyond the command limit. Fix: enforce command length, argument count, per-argument length, aggregate raw argv bytes, and the final boundary-preserving serialized command length.