]> granicus.if.org Git - postgresql/commit
Fix overflow check in StringInfo; add missing casts
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 10 Jan 2017 14:41:13 +0000 (11:41 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 10 Jan 2017 14:41:13 +0000 (11:41 -0300)
commit42f50cb8fa9848bbbc6776bcea03293a6b28b2d4
treea4ac52ba3a38a546d1f6e812ae2e40d2361caf49
parente898437460f55b49623d1aea435cd92e0011d54d
Fix overflow check in StringInfo; add missing casts

A few thinkos I introduced in fa2fa9955280.  Also, amend a similarly
broken comment.

Report by Daniel Vérité.
Authors: Daniel Vérité, Álvaro Herrera
Discussion: https://postgr.es/m/1706e85e-60d2-494e-8a64-9af1e1b2186e@manitou-mail.org
src/backend/lib/stringinfo.c