<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go/src/cmd/internal/script/testdata/fuzz/FuzzQuoteArgs, branch main</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=main</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2026-04-06T16:03:41Z</updated>
<entry>
<title>cmd/go/internal/script: add fuzz test for quoteArgs</title>
<updated>2026-04-06T16:03:41Z</updated>
<author>
<name>Abhinav Gupta</name>
<email>mail@abhinavg.net</email>
</author>
<published>2024-02-23T05:00:46Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=47d6423673479edc418e777d221f2527076e9944'/>
<id>urn:sha1:47d6423673479edc418e777d221f2527076e9944</id>
<content type='text'>
Adds a fuzz test for quoteArgs and fixes the bugs it found:
handling of empty strings and strings containing "&amp;" or "$".

This is a copy of a similar change submitted to rsc.io/script:
https://github.com/rsc/script/pull/10

Change-Id: I76e7fc89475e1c4e415f45f2c7ac4a87a7a659e6
Reviewed-on: https://go-review.googlesource.com/c/go/+/566316
Reviewed-by: Michael Matloob &lt;matloob@golang.org&gt;
Reviewed-by: Michael Matloob &lt;matloob@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: David Chase &lt;drchase@google.com&gt;
</content>
</entry>
</feed>
