2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>

PR 1983/networking
	* libnetworking/libc/gethostbyht.c (gethostent_r):
	Abort if (!hostf).
This commit is contained in:
Ralf Corsepius committed 2011-12-07 06:51:43 +00:00
1 parent 2fc9706a56
commit d1cbfaa89e
2 files changed
+7 -1

No files matched your search

+6
View File
@@ -1,3 +1,9 @@
2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1983/networking
* libnetworking/libc/gethostbyht.c (gethostent_r):
Abort if (!hostf).
2011-11-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/clnt_udp.c (struct cu_data):
+1 -1
View File
@@ -223,7 +223,7 @@ struct hostent* gethostent_r(char* buf, int len)
int curlen;
if (hostf<0) return 0;
if (!hostf) return 0;
fseek(hostf,0,SEEK_END);
curlen=ftell(hostf);
fseek(hostf,0,SEEK_SET);