Filter:

Commits on May 21, 2006

Commits10 commits of which 5 backported
0Author
10Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterStamp release 7.3.15.
e675978f
REL7_3_STABLE7.3.15
No linked threadMay 21, 2006
CommitterStamp release 7.4.13.
82f56fad
REL7_4_STABLE7.4.13
No linked threadMay 21, 2006
CommitterStamp release 8.0.8.
f39fc476
REL8_0_STABLE8.0.8
No linked threadMay 21, 2006
CommitterStamp release 8.1.4.
313a720f
REL8_1_STABLE8.1.4
No linked threadMay 21, 2006
CommitterBackportedUpdate release notes for upcoming releases.
e9cc5302
master8.2beta1REL_19_STABLE8.2beta1REL_18_STABLE8.2beta1REL_17_STABLE8.2beta1REL_16_STABLE8.2beta1REL_15_STABLE8.2beta1REL_14_STABLE8.2beta1REL_13_STABLE8.2beta1+22 more
No linked threadMay 21, 2006
CommitterFix missed \' to '' conversion.
6450cee4
REL8_0_STABLE8.0.8
No linked threadMay 21, 2006
CommitterBackportedFix errors in fortuna PRNG reseeding logic that could cause a predictable session key to be selected by pgp_sym_encrypt() in some cases. This only affects non-OpenSSL-using builds. Marko Kreen
5cf07901
master8.2beta1REL_19_STABLE8.2beta1REL_18_STABLE8.2beta1REL_17_STABLE8.2beta1REL_16_STABLE8.2beta1REL_15_STABLE8.2beta1REL_14_STABLE8.2beta1REL_13_STABLE8.2beta1+19 more
No linked threadMay 21, 2006
CommitterBackportedModify libpq's string-escaping routines to be aware of encoding considerations and standard_conforming_strings. The encoding changes are needed for proper escaping in multibyte encodings, as per the SQL-injection vulnerabilities noted in CVE-2006-2313 and CVE-2006-2314. Concurrent fixes are being applied to the server to ensure that it rejects queries that may have been corrupted by attempted SQL injection, but this merely guarantees that unpatched clients will fail rather than allow injection. An actual fix requires changing the client-side code. While at it we have also fixed these routines to understand about standard_conforming_strings, so that the upcoming changeover to SQL-spec string syntax can be somewhat transparent to client code.
515112f9
master8.2beta1REL_19_STABLE8.2beta1REL_18_STABLE8.2beta1REL_17_STABLE8.2beta1REL_16_STABLE8.2beta1REL_15_STABLE8.2beta1REL_14_STABLE8.2beta1REL_13_STABLE8.2beta1+22 more
No linked threadMay 21, 2006
CommitterBackportedAdd a new GUC parameter backslash_quote, which determines whether the SQL parser will allow "\'" to be used to represent a literal quote mark. The "\'" representation has been deprecated for some time in favor of the SQL-standard representation "''" (two single quote marks), but it has been used often enough that just disallowing it immediately won't do. Hence backslash_quote allows the settings "on", "off", and "safe_encoding", the last meaning to allow "\'" only if client_encoding is a valid server encoding. That is now the default, and the reason is that in encodings such as SJIS that allow 0x5c (ASCII backslash) to be the last byte of a multibyte character, accepting "\'" allows SQL-injection attacks as per CVE-2006-2314 (further details will be published after release). The "on" setting is available for backward compatibility, but it must not be used with clients that are exposed to untrusted input.
b3eb4ea5
master8.2beta1REL_19_STABLE8.2beta1REL_18_STABLE8.2beta1REL_17_STABLE8.2beta1REL_16_STABLE8.2beta1REL_15_STABLE8.2beta1REL_14_STABLE8.2beta1REL_13_STABLE8.2beta1+22 more
No linked threadMay 21, 2006
CommitterBackportedChange the backend to reject strings containing invalidly-encoded multibyte characters in all cases. Formerly we mostly just threw warnings for invalid input, and failed to detect it at all if no encoding conversion was required. The tighter check is needed to defend against SQL-injection attacks as per CVE-2006-2313 (further details will be published after release). Embedded zero (null) bytes will be rejected as well. The checks are applied during input to the backend (receipt from client or COPY IN), so it no longer seems necessary to check in textin() and related routines; any string arriving at those functions will already have been validated. Conversion failure reporting (for characters with no equivalent in the destination encoding) has been cleaned up and made consistent while at it.
c61a2f58
master8.2beta1REL_19_STABLE8.2beta1REL_18_STABLE8.2beta1REL_17_STABLE8.2beta1REL_16_STABLE8.2beta1REL_15_STABLE8.2beta1REL_14_STABLE8.2beta1REL_13_STABLE8.2beta1+22 more
No linked threadMay 21, 2006