Changeset a1399ba in rtems


Ignore:
Timestamp:
Dec 7, 2011, 6:49:32 AM (7 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
adfc907
Parents:
5876a99
Message:

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

PR 1983/networking

  • libnetworking/libc/gethostbyht.c (gethostent_r): Abort if (!hostf).
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r5876a99 ra1399ba  
     12011-12-07      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        PR 1983/networking
     4        * libnetworking/libc/gethostbyht.c (gethostent_r):
     5        Abort if (!hostf).
     6
    172011-12-07      Ralf Corsépius <ralf.corsepius@rtems.org>
    28
  • cpukit/libnetworking/libc/gethostbyht.c

    r5876a99 ra1399ba  
    224224 
    225225   
    226   if (hostf<0) return 0;
     226  if (!hostf) return 0;
    227227  fseek(hostf,0,SEEK_END);
    228228  curlen=ftell(hostf);
Note: See TracChangeset for help on using the changeset viewer.