|
|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Andrey Blochintsev 2:5020/400 27 Feb 2004 13:21:20 To : Andrew Filonov Subject : Re: Sendmail+qpopper -------------------------------------------------------------------------------- Andrew Filonov <aef@antar.bryansk.ru> wrote: > >>>>> "VN" == Valentin Nechayev writes: > > VN> ## egrep -w '(strcpy|strncpy|strcat|strlcat)' *.c | wc -l 90 > > VN> Пока их не будет 0, я о нём ни слова хорошего не > VN> скажу. Многолетняя история дыр дала очень отрицательное мнение. > > А чем тебе strlcat не угодил? Note however, that if strlcat() traverses size characters without finding a NUL, the length of the string is considered to be size and the destina- tion string will not be NUL-terminated (since there was no space for the NUL). This keeps strlcat() from running off the end of a string. In Возможностью "соорудить" не-NUL-terminated строчку, которая потом вылезет в другом месте? --- ifmail v.2.15dev5.3 * Origin: Digital Generation (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/84287646f1d5.html, оценка из 5, голосов 10
|