This is an automated email from the git hooks/post-receive script. sthibault pushed a commit to branch upstream in repository hurd.
commit 7ce13b410d3cdf5c3365b9525e3a8a213f7f3c05 Author: Samuel Thibault <[email protected]> Date: Tue Sep 26 23:19:54 2017 +0200 pfinet: Fix array size hardcoded value as hinted by Joan Lledó * pfinet/iioctl-ops.c (get_dev): Set ifname size to IFNAMSIZ instead of hardcoded value --- pfinet/iioctl-ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pfinet/iioctl-ops.c b/pfinet/iioctl-ops.c index f1c503d..be65958 100644 --- a/pfinet/iioctl-ops.c +++ b/pfinet/iioctl-ops.c @@ -49,7 +49,7 @@ extern void inquire_device (struct device *dev, uint32_t *addr, /* Truncate name, take the global lock and find device with this name. */ struct device *get_dev (char *name) { - char ifname[16]; + char ifname[IFNAMSIZ]; struct device *dev; memcpy (ifname, name, IFNAMSIZ-1); -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/hurd.git
