| От | Cyrille Chépélov |
|---|---|
| Тема | [patch] CodeGuard fix |
| Дата | |
| Msg-id | 3FE02368.8030101@softek.fr обсуждение исходный текст |
| Ответы |
Re: [patch] CodeGuard fix
|
| Список | pgsql-odbc |
Greetings,
the following patch (against 7.03.0200) contains two things:
- The first hunk is necessary to build psqlodbc using Borland C++
Builder 6.0 [I successfully built the whole DLL, which requires a few
other patches]
- The second hunk is necessary as Borland's sscanf would do all sorts
of things with rest[] when CodeGuard is active (I wonder if it's not
their way of hinting that we have an opportunity for a buffer overrun here).
I wonder if we shouldn't apply a better fix, to avoid entirely the "%s"
format argument to sscanf, and finding another way to locate a "const
char* rest" within the caller-supplied str?
Best Regards,
-- Cyrille
В списке pgsql-odbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера