Re: [PATCH] bms_prev_member() can read beyond the end of the array of allocated words
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [PATCH] bms_prev_member() can read beyond the end of the array of allocated words |
| Дата | |
| Msg-id | 131108.1755180400@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [PATCH] bms_prev_member() can read beyond the end of the array of allocated words (David Rowley <dgrowleyml@gmail.com>) |
| Ответы |
Re: [PATCH] bms_prev_member() can read beyond the end of the array of allocated words
Re: [PATCH] bms_prev_member() can read beyond the end of the array of allocated words |
| Список | pgsql-hackers |
David Rowley <dgrowleyml@gmail.com> writes:
> There's a comment saying:
> * "prevbit" must NOT be more than one above the highest possible bit that can
> * be set at the Bitmapset at its current size.
> So looks like it's the fault of the calling code and not an issue with
> bms_prev_member().
Yeah. But perhaps it'd be reasonable to put in an Assert checking
that?
Grammar nitpick: comment should be more like "set in the Bitmapset".
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера