Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jun 8, 2010
  1. Use daemon(), if available.

    authored
    Regenerate configure. Yeah, I have no idea why I checked this is
    in version control too.
  2. BUFFER OVERFLOW!!&*#&

    authored
    Check length of command line arguments before doing a strcpy().
Commits on Jun 7, 2010
  1. Replace strlen/malloc/strcpy with strdup

    authored
    As mostly a cosmetic change, replace the strlen + malloc + strcpy
    with strdup.
    
    Under certain conditions, a non-null terminated string can be
    returned by readline(). For example, on Solaris, a large (2+ Gb)
    log file will return truncated data, if logsurfer has not been
    compiled with _FILE_OFFSET_BITS=64.
    
    This will cause strlen() to crash (now strdup() will crash with a
    memory error :)
  2. compiler warning

    authored
  3. Add options to daemonize and follow files

    authored
    Add -D option to run as a daemon. This should be replaced by daemon()
    where it is available.
    
    Add -F option to periodically stat files for inode changes and re-open,
    similar to "tail -F"
  4. segfault if config file empty

    authored
    Patch similar to OpenBSD/FreeBSD ports
Something went wrong with that request. Please try again.