Disallow logging sockets < 1024.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1290 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_mylibc.c b/coregrind/vg_mylibc.c
index d828569..c8d2642 100644
--- a/coregrind/vg_mylibc.c
+++ b/coregrind/vg_mylibc.c
@@ -1576,6 +1576,7 @@
       if (j > 65535) goto syntaxerr;
    }
    if (any == 0 || c != 0) goto syntaxerr;
+   if (j < 1024) goto syntaxerr;
    *port = (UShort)j;
  ok:
    return 1;