On 01/27/18 20:42, Bruce Evans wrote:
On Sat, 27 Jan 2018, Pedro Giffuni wrote:
On 01/27/18 18:21, Bruce Evans wrote:
On Sat, 27 Jan 2018, Dimitry Andric wrote:
On 27 Jan 2018, at 23:20, Ed Schouten wrote:
* [... context lost to corruption of spaces which makes it unreadable]
Wait.
On Sat, 27 Jan 2018, Pedro Giffuni wrote:
On 01/27/18 18:21, Bruce Evans wrote:
On Sat, 27 Jan 2018, Dimitry Andric wrote:
On 27 Jan 2018, at 23:20, Ed Schouten wrote:
* [... context lost to corruption of spaces which makes it unreadable]
Wait... This may access utmp.ut_host one byte
On 01/27/18 18:21, Bruce Evans wrote:
On Sat, 27 Jan 2018, Dimitry Andric wrote:
On 27 Jan 2018, at 23:20, Ed Schouten wrote:
2018-01-27 23:16 GMT+01:00 Pedro F. Giffuni :
char host[sizeof(utmp.ut_host) + 1];
insecure = 1;
- strncpy(host, utmp.ut_host, sizeof(utmp.ut_
On Sat, 27 Jan 2018, Dimitry Andric wrote:
On 27 Jan 2018, at 23:20, Ed Schouten wrote:
2018-01-27 23:16 GMT+01:00 Pedro F. Giffuni :
char host[sizeof(utmp.ut_host) + 1];
insecure = 1;
- strncpy(host, utmp.ut_host, sizeof(utmp.ut_host));
- host[sizeof(utmp.ut_host)
2018-01-27 23:31 GMT+01:00 Dimitry Andric :
> On 27 Jan 2018, at 23:20, Ed Schouten wrote:
>>
>> 2018-01-27 23:16 GMT+01:00 Pedro F. Giffuni :
>>>char host[sizeof(utmp.ut_host) + 1];
>>>insecure = 1;
>>>
>>> - strncpy(host, utmp.ut_host, sizeof(utmp.ut_host));
>>> - hos
On 27 Jan 2018, at 23:20, Ed Schouten wrote:
>
> 2018-01-27 23:16 GMT+01:00 Pedro F. Giffuni :
>>char host[sizeof(utmp.ut_host) + 1];
>>insecure = 1;
>>
>> - strncpy(host, utmp.ut_host, sizeof(utmp.ut_host));
>> - host[sizeof(utmp.ut_host)] = 0;
>> + strncpy(hos
Hi Pedro,
2018-01-27 23:16 GMT+01:00 Pedro F. Giffuni :
> char host[sizeof(utmp.ut_host) + 1];
> insecure = 1;
>
> - strncpy(host, utmp.ut_host, sizeof(utmp.ut_host));
> - host[sizeof(utmp.ut_host)] = 0;
> + strncpy(host, utmp.ut_host, sizeof(host));
Wait... This