This is the mail archive of the cygwin-developers@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

lint bugs


I spent a few hours tonight trying to tune this lint program to give me a
better signal to noise ratio, sorry for the lateness (I had said 20
minutes in my previous email).

path.cc(790) : potential NULL pointer access in path

path.cc(2837): while(1)


security.cc(281) : Error 18: Symbol 'get_id_from_sid(void *, int)'
redeclared
    (qualification) conflicts with line 470, file winsup.h
                                            _
  return get_id_from_sid (psid, search_grp, NULL);
security.cc(282) : Error 1025: No function matches invocation
    'get_id_from_sid(void *, int, void *)', 2 candidates found, 1 matched
the
    argument count, none matched on arg. no. 3
security.cc(282) : Error 119: Too many arguments (3) for prototype
    'get_id_from_sid(void *, int)'
                                                   _
                memcpy (aclbufp, lacl, nentries * sizeof (aclent_t));
security.cc(1550) : Warning 534: Ignoring return value of function
    '__builtin_memcpy(void *, const void *, unsigned long)' (compare with
line
    27, file c:\cygwin\usr\i686-pc-cygwin\include\string.h)
security.cc(1550) : Warning 645: Symbol 'lacl' (line 1514) may not have
been
    initialized
                                                _




I verified the output with the code (in an attempt) to make sure the
information being reported is accurate. Some of it I am just not sure of,
so I leave it up to you guys to determine if it is a real problem or not.

I should have some more tomorrow, if I get time. 


nite folx

--
this band is perfect
just don't scratch the surface


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]