Re: Patch for snprintf problem (bug #1000650)
От
Ludek Finstrle
Тема
Re: Patch for snprintf problem (bug #1000650)
Дата
Msg-id
20060607201516.GA28714@soptik.pzkagis.cz
Ответ на
Patch for snprintf problem (bug #1000650) (Ludek Finstrle)
Список
Дерево обсуждения
Patch for snprintf problem (bug #1000650) Ludek Finstrle <luf@pzkagis.cz>
Re: Patch for snprintf problem (bug #1000650) Ludek Finstrle <luf@pzkagis.cz>
Re: Patch for snprintf problem (bug #1000650) Hiroshi Inoue <inoue@tpf.co.jp>
Re: Patch for snprintf problem (bug #1000650) Ludek Finstrle <luf@pzkagis.cz>
Re: Patch for snprintf problem (bug #1000650) 3-rd try Ludek Finstrle <luf@pzkagis.cz>
Re: Patch for snprintf problem (bug #1000650) 3-rd try Ludek Finstrle <luf@pzkagis.cz>
Re: Patch for snprintf problem (bug #1000650) Ludek Finstrle <luf@pzkagis.cz>
Re: Patch for snprintf problem (bug #1000650) 4-th try Ludek Finstrle <luf@pzkagis.cz>
Re: Patch for snprintf problem (bug #1000650) 4-th try Hiroshi Inoue <inoue@tpf.co.jp>
Re: Patch for snprintf problem (bug #1000650) 5-th try Ludek Finstrle <luf@pzkagis.cz>
Re: Patch for snprintf problem (bug #1000650) 5-th try Hiroshi Inoue <inoue@tpf.co.jp>
Re: Patch for snprintf problem (bug #1000650) 5-th try Ludek Finstrle <luf@pzkagis.cz>
> I solve it this way (main idea): > snprintf(buf + strlen(buf), " append"); Ugh typo mistake: snprintf(buf + strlen(buf), sizeof(buf), " append"); My hands are faster than my head :-( There is buffer overrun erron becouse I have to decrease sizeof(buf) with strlen(buf). So I attach second try of this patch againist CVS HEAD. Comments are welcome Luf
В списке pgsql-odbc по дате отправления