From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <03dd9a6798effc7cf713d579f6bbc0e6@isd.dp.ua> To: 9fans@9fans.net From: yaroslav Date: Wed, 5 Jun 2013 14:38:17 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: [9fans] lpdaemon Topicbox-Message-UUID: 632426b2-ead8-11e9-9d60-3106f5b1d025 in /sys/src/cmd/lp/lpdaemon.c:297,310 These info.host[strlen(info.host)] =3D '\0'; =E2=80=A6 info.user[strlen(info.user)] =3D '\0'; look nonsence as zeros are placed exactly where they already are. Should read as in following instead: info.host[NAMELEN] =3D '\0'; =E2=80=A6 info.user[NAMELEN] =3D '\0'; shoudn't it?