[patch] CodeGuard fix

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: "George A.J"
Дата:
Сообщение: Bug correction
Следующее
От: Cyrille Chépélov
Дата:
Сообщение: Re: [patch] CodeGuard fix