Skip site navigation (1) Skip section navigation (2)

prevent invalidly encoded input

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: prevent invalidly encoded input
Date: 2007-09-11 16:46:16
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
Attached is a patch to the scanner and the COPY code that checks for 
invalidly encoded data that can currently leak into our system via \ 
escapes in quoted literals or text mode copy fields, as recently 
discussed. That would still leave holes via chr(), convert() and 
possibly other functions, but these two paths are the biggest holes that 
need plugging.



Attachment: codfix1.patch
Description: text/x-patch (2.9 KB)


pgsql-patches by date

Next:From: Florian G. PflugDate: 2007-09-11 17:32:11
Subject: Re: Final Thoughts for 8.3 on LWLocking and Scalability
Previous:From: Jeff DavisDate: 2007-09-11 16:15:21
Subject: Re: invalidly encoded strings

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group