| От | Alvaro Herrera |
|---|---|
| Тема | pgsql: Fix crasher bugs in previous commit |
| Дата | |
| Msg-id | E1YV3tl-0004QG-Ma@gemulon.postgresql.org обсуждение исходный текст |
| Список | pgsql-committers |
Fix crasher bugs in previous commit ALTER DEFAULT PRIVILEGES was trying to decode the list of roles in the FOR clause as a list of names rather than of RoleSpecs; and the IN clause in CREATE ROLE was doing the same thing. This was evidenced by crashes on some buildfarm machines, though on my platform this doesn't cause a failure by mere chance; I can reproduce the failures only by adding some padding in struct RoleSpecs. Fix by dereferencing those lists as being of RoleSpecs, not string Values. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/e3f1c24b992acb88e4ccf33118640aee4b11dd47 Modified Files -------------- src/backend/catalog/aclchk.c | 20 ++++++++++---------- src/backend/commands/user.c | 8 ++++++-- 2 files changed, 16 insertions(+), 12 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера