Changeset d1cbfaa8 in rtems


Ignore:
Timestamp:
Dec 7, 2011, 6:51:43 AM (7 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10
Children:
10fa27d
Parents:
2fc9706a
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

    r2fc9706a rd1cbfaa8  
     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-11-30      Ralf Corsépius <ralf.corsepius@rtems.org>
    28
  • cpukit/libnetworking/libc/gethostbyht.c

    r2fc9706a rd1cbfaa8  
    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.