[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Improper fixed-size buffer usage in connect_to_gserver()
From: |
Michael Richardson |
Subject: |
Re: Improper fixed-size buffer usage in connect_to_gserver() |
Date: |
Wed, 13 Jun 2001 20:23:18 -0400 |
>>>>> "Larry" == Larry Jones <larry.jones@sdrc.com> writes:
Larry> Alexey Mahotkin writes:
>> + snprintf (buf, BUFSIZE, "cvs@%s", hostinfo->h_name);
Larry> snprintf() isn't portable.
Machines without snprintf() aren't worth using.
If snprintf() isn't available, take it with you.