Skip to content

Don't pass arbitrary strings as Errorf() format strings.#2

Merged
davecheney merged 1 commit into
pkg:masterfrom
enisoc:format-string
Apr 24, 2016
Merged

Don't pass arbitrary strings as Errorf() format strings.#2
davecheney merged 1 commit into
pkg:masterfrom
enisoc:format-string

Conversation

@enisoc
Copy link
Copy Markdown

@enisoc enisoc commented Apr 24, 2016

Sometimes they happen to contain format specifiers, which results in
things like "%!v(MISSING)".

Sometimes they happen to contain format specifiers, which results in
things like "%!v(MISSING)".
@davecheney
Copy link
Copy Markdown
Member

Thanks for to fixing that, fmt.Errof was me being lazy

@davecheney davecheney merged commit 4a91b9e into pkg:master Apr 24, 2016
gregwebs referenced this pull request in gregwebs/errors Sep 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants