postgresql/src/backend/commands
Tom Lane d1fcc62298 Fix incorrect buffer-length argument to uloc_getDisplayName().
The maxResultSize argument of uloc_getDisplayName is the number of
UChars in the output buffer, not the number of bytes.  In principle
this could result in a stack smash, although at least in my Fedora 25
install there are no ICU locales with display names long enough to
overrun the buffer.  But it's easily proven to be wrong by reducing
the length of displayname to around 20, whereupon a stack smash
does happen.

(This is a rather scary bug, because the same mistake could easily
have been made in other places; but in a quick code search looking
at uses of UChar I could not find any other instances.)
2017-06-23 16:00:55 -04:00
..
Makefile Implement multivariate n-distinct coefficients 2017-03-24 14:06:10 -03:00
aggregatecmds.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
alter.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
amcmds.c Fix typos in comments. 2017-02-06 11:33:58 +02:00
analyze.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
async.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
cluster.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
collationcmds.c Fix incorrect buffer-length argument to uloc_getDisplayName(). 2017-06-23 16:00:55 -04:00
comment.c Allow COMMENT ON COLUMN with partitioned tables 2017-04-18 10:42:10 +01:00
constraint.c Allow index AMs to cache data across aminsert calls within a SQL command. 2017-02-09 11:52:12 -05:00
conversioncmds.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
copy.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
createas.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
dbcommands.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
define.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
discard.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
dropcmds.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
event_trigger.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
explain.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
extension.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
foreigncmds.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
functioncmds.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
indexcmds.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
lockcmds.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
matview.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
opclasscmds.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
operatorcmds.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
policy.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
portalcmds.c Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
prepare.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
proclang.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
publicationcmds.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
schemacmds.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
seclabel.c Remove objname/objargs split for referring to objects 2017-03-06 13:31:47 -05:00
sequence.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
statscmds.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
subscriptioncmds.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
tablecmds.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
tablespace.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
trigger.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
tsearchcmds.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
typecmds.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
user.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
vacuum.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
vacuumlazy.c Update out-of-date comment in vacuumlazy.c 2017-06-22 13:38:53 -04:00
variable.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
view.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00