Changeset 516 for trunk/src/sh_audit.c


Ignore:
Timestamp:
Oct 31, 2016, 8:31:24 PM (8 years ago)
Author:
katerina
Message:

Fix for ticket #409 and #410 (unprivileged suidcheck and gcc 6.2 compiler warnings).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_audit.c

    r514 r516  
    415415/* Check whether it is already covered by a higher directory
    416416 */
    417 static int test_exchange (struct aud_list * this, char * file)
     417static int test_exchange (struct aud_list * this, const char * file)
    418418{
    419419  size_t len0 = sl_strlen(this->file);
     
    421421  int    ret  = -1;
    422422
     423  if (!file || !this || !this->file)
     424    return 0;
     425 
    423426  if (len0 == len1)
    424427    {
Note: See TracChangeset for help on using the changeset viewer.