[BACK]Return to nlist_ecoff.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / gen

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/gen/nlist_ecoff.c between version 1.14 and 1.15

version 1.14, 2003/07/26 19:24:43 version 1.15, 2006/10/23 15:27:41
Line 121  __fdnlist_ecoff(fd, list)
Line 121  __fdnlist_ecoff(fd, list)
         symhdroff = exechdrp->f.f_symptr;          symhdroff = exechdrp->f.f_symptr;
         symhdrsize = exechdrp->f.f_nsyms;          symhdrsize = exechdrp->f.f_nsyms;
   
         if (check(symhdroff, sizeof *symhdrp) ||          if ((symhdroff + sizeof *symhdrp) > mappedsize ||
             sizeof *symhdrp != symhdrsize)              sizeof *symhdrp != symhdrsize)
                 BADUNMAP;                  BADUNMAP;
         symhdrp = (struct ecoff_symhdr *)&mappedfile[symhdroff];          symhdrp = (struct ecoff_symhdr *)&mappedfile[symhdroff];

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

CVSweb <webmaster@jp.NetBSD.org>