aboutsummaryrefslogtreecommitdiff
path: root/inet/tst-network.c
diff options
context:
space:
mode:
authorOndřej Bílka <neleai@seznam.cz>2013-10-17 18:33:58 +0200
committerOndřej Bílka <neleai@seznam.cz>2013-10-17 18:34:29 +0200
commit264aad1e6aca30efddfcfae05c44ad38bb5e137d (patch)
treec0d35a4dab6547e4cd4fc595ee389608ac9bcd45 /inet/tst-network.c
parentb957ced8890a4438c8efe2c15e5abf4e327f25cf (diff)
downloadglibc-264aad1e6aca30efddfcfae05c44ad38bb5e137d.zip
glibc-264aad1e6aca30efddfcfae05c44ad38bb5e137d.tar.gz
glibc-264aad1e6aca30efddfcfae05c44ad38bb5e137d.tar.bz2
Fix inet_network("1 bar"). Fixes bug 15277.
Diffstat (limited to 'inet/tst-network.c')
-rw-r--r--inet/tst-network.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/inet/tst-network.c b/inet/tst-network.c
index 6b79e62..2eefb0c 100644
--- a/inet/tst-network.c
+++ b/inet/tst-network.c
@@ -38,6 +38,7 @@ struct
{"0x0", 0},
/* Now some invalid addresses. */
{"0x", INADDR_NONE},
+ {"1 bar", INADDR_NONE}, /* Bug 15277. */
{"141.30.225.2800", INADDR_NONE},
{"141.76.1.1.1", INADDR_NONE},
{"141.76.1.11.", INADDR_NONE},