Update copyright dates for 2021

Also fixes up clang-format.
This commit is contained in:
Micah Snyder (micasnyd) 2021-03-19 15:12:26 -07:00
parent f4ef7b895e
commit b9ca6ea103
400 changed files with 462 additions and 462 deletions

View file

@ -1,4 +1,4 @@
# Copyright (C) 2019-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2019-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
if(WIN32)
cmake_minimum_required( VERSION 3.16 ) # For file(GET_RUNTIME_DEPENDENCIES)

View file

@ -1,5 +1,5 @@
#
# Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2007-2013 Sourcefire, Inc.
# Copyright (C) 2002-2007 Tomasz Kojm <tkojm@clamav.net>
#

View file

@ -1,4 +1,4 @@
# Copyright (C) 2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2020-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# The clamav-milter executable.
add_executable( clamav-milter )

View file

@ -1,5 +1,5 @@
#
# Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2007-2013 Sourcefire, Inc.
# Copyright (C) 2003-2007 Tomasz Kojm <tkojm@clamav.net>
#

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2008-2013 Sourcefire, Inc.
*
* Author: aCaB <acab@clamav.net>
@ -122,7 +122,7 @@ int main(int argc, char **argv)
printf("\n");
printf(" Clam AntiVirus: Milter Mail Scanner %s\n", get_version());
printf(" By The ClamAV Team: https://www.clamav.net/about.html#credits\n");
printf(" (C) 2020 Cisco Systems, Inc.\n");
printf(" (C) 2021 Cisco Systems, Inc.\n");
printf("\n");
printf(" %s [-c <config-file>]\n\n", argv[0]);
printf("\n");

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2008-2013 Sourcefire, Inc.
*
* Author: aCaB <acab@clamav.net>

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2008-2013 Sourcefire, Inc.
*
* Author: aCaB <acab@clamav.net>

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2008-2013 Sourcefire, Inc.
*
* Author: aCaB <acab@clamav.net>

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2008-2013 Sourcefire, Inc.
*
* Author: aCaB <acab@clamav.net>

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2008-2013 Sourcefire, Inc.
*
* Author: aCaB <acab@clamav.net>

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2008-2013 Sourcefire, Inc.
*
* Author: aCaB <acab@clamav.net>

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2008-2013 Sourcefire, Inc.
*
* Author: aCaB <acab@clamav.net>

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2008-2013 Sourcefire, Inc.
*
* Author: aCaB <acab@clamav.net>

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2013 Sourcefire, Inc.
*
* Authors: Tomasz Kojm, Micah Snyder

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2019-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2019-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
*
* Authors: Micah Snyder
*

View file

@ -1,4 +1,4 @@
# Copyright (C) 2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2020-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
if(WIN32)
add_definitions(-DWIN32_LEAN_AND_MEAN)

View file

@ -1,7 +1,7 @@
/*
* ClamAV bytecode handler tool.
*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2009-2013 Sourcefire, Inc.
*
* Authors: Török Edvin
@ -52,7 +52,7 @@ static void help(void)
printf("\n");
printf(" Clam AntiVirus: Bytecode Testing Tool %s\n", get_version());
printf(" By The ClamAV Team: https://www.clamav.net/about.html#credits\n");
printf(" (C) 2020 Cisco Systems, Inc.\n");
printf(" (C) 2021 Cisco Systems, Inc.\n");
printf("\n");
printf(" clambc <file> [function] [param1 ...]\n");
printf("\n");

View file

@ -1,4 +1,4 @@
# Copyright (C) 2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2020-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
if(WIN32)
add_definitions(-DWIN32_LEAN_AND_MEAN)

View file

@ -1,5 +1,5 @@
#
# Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2007-2013 Sourcefire, Inc.
# Copyright (C) 2006-2007 Tomasz Kojm <tkojm@clamav.net>
#

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2009-2013 Sourcefire, Inc.
*
* Author: Tomasz Kojm <tkojm@clamav.net>
@ -207,7 +207,7 @@ static void help(void)
printf("\n");
printf(" Clam AntiVirus: Configuration Tool %s\n", get_version());
printf(" By The ClamAV Team: https://www.clamav.net/about.html#credits\n");
printf(" (C) 2020 Cisco Systems, Inc.\n");
printf(" (C) 2021 Cisco Systems, Inc.\n");
printf("\n");
printf(" --help -h Show this help\n");
printf(" --version -V Show version\n");

View file

@ -1,4 +1,4 @@
# Copyright (C) 2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2020-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
if(WIN32)
add_definitions(-DWIN32_LEAN_AND_MEAN)

View file

@ -1,5 +1,5 @@
#
# Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2007-2013 Sourcefire, Inc.
# Copyright (C) 2002-2007 Tomasz Kojm <tkojm@clamav.net>
#

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2013 Sourcefire, Inc.
*
* Authors: Tomasz Kojm
@ -88,7 +88,7 @@ static void help(void)
printf("\n");
printf(" Clam AntiVirus: Daemon %s\n", get_version());
printf(" By The ClamAV Team: https://www.clamav.net/about.html#credits\n");
printf(" (C) 2020 Cisco Systems, Inc.\n");
printf(" (C) 2021 Cisco Systems, Inc.\n");
printf("\n");
printf(" clamd [options]\n");
printf("\n");

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2013 Sourcefire, Inc.
*
* Authors: Tomasz Kojm, Trog, Török Edvin

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2013 Sourcefire, Inc.
*
* Authors: Tomasz Kojm, Trog, Török Edvin

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2013 Sourcefire, Inc.
*
* Authors: Tomasz Kojm

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2013 Sourcefire, Inc.
*
* Authors: Tomasz Kojm

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2013 Sourcefire, Inc.
*
* Authors: Tomasz Kojm, Török Edvin

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2013 Sourcefire, Inc.
*
* Authors: Tomasz Kojm, Török Edvin

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2013 Sourcefire, Inc.
*
* Authors: Tomasz Kojm, Trog, Török Edvin

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2013 Sourcefire, Inc.
*
* Authors: Tomasz Kojm, Trog, Török Edvin

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2013 Sourcefire, Inc.
*
* Authors: Tomasz Kojm, Török Edvin

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2013 Sourcefire, Inc.
*
* Authors: Tomasz Kojm, Török Edvin

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2013 Sourcefire, Inc.
*
* Authors: Tomasz Kojm

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2013 Sourcefire, Inc.
*
* Authors: Tomasz Kojm, Török Edvin

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2013 Sourcefire, Inc.
*
* Authors: Tomasz Kojm

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2013 Sourcefire, Inc.
*
* Authors: Trog, Török Edvin

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2013 Sourcefire, Inc.
*
* Authors: Tomasz Kojm, Török Edvin

View file

@ -1,4 +1,4 @@
# Copyright (C) 2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2020-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
if(WIN32)
add_definitions(-DWIN32_LEAN_AND_MEAN)

View file

@ -1,4 +1,4 @@
# Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2007-2013 Sourcefire, Inc.
# Copyright (C) 2002-2007 Tomasz Kojm <tkojm@clamav.net>
#

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2013 Sourcefire, Inc.
*
* Authors: Tomasz Kojm, aCaB
@ -225,7 +225,7 @@ void help(void)
mprintf("\n");
mprintf(" Clam AntiVirus: Daemon Client %s\n", get_version());
mprintf(" By The ClamAV Team: https://www.clamav.net/about.html#credits\n");
mprintf(" (C) 2020 Cisco Systems, Inc.\n");
mprintf(" (C) 2021 Cisco Systems, Inc.\n");
mprintf("\n");
mprintf(" clamdscan [options] [file/directory/-]\n");
mprintf("\n");

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2009-2013 Sourcefire, Inc.
*
* Authors: Tomasz Kojm, aCaB

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2009-2013 Sourcefire, Inc.
*
* Authors: Tomasz Kojm, aCaB

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2009-2013 Sourcefire, Inc.
*
* Authors: Tomasz Kojm, aCaB

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2009-2013 Sourcefire, Inc.
*
* Authors: Tomasz Kojm, aCaB

View file

@ -1,4 +1,4 @@
# Copyright (C) 2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2020-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
if(WIN32)
add_definitions(-DWIN32_LEAN_AND_MEAN)

View file

@ -1,7 +1,7 @@
/*
* ClamdTOP
*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2008-2013 Sourcefire, Inc.
*
* Authors: Török Edvin
@ -1339,7 +1339,7 @@ static void help(void)
printf("\n");
printf(" Clam AntiVirus: Monitoring Tool %s\n", get_version());
printf(" By The ClamAV Team: https://www.clamav.net/about.html#credits\n");
printf(" (C) 2020 Cisco Systems, Inc.\n");
printf(" (C) 2021 Cisco Systems, Inc.\n");
printf("\n");
printf(" clamdtop [-hVc] [host[:port] /path/to/clamd.socket ...]\n");
printf("\n");

View file

@ -1,4 +1,4 @@
# Copyright (C) 2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2020-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# The clamonacc executable.
add_executable( clamonacc )

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2019-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2019-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
*
* Authors: Mickey Sola
*
@ -423,7 +423,7 @@ void help(void)
mprintf("\n");
mprintf(" ClamAV: On Access Scanning Application and Client %s\n", get_version());
mprintf(" By The ClamAV Team: https://www.clamav.net/about.html#credits\n");
mprintf(" (C) 2020 Cisco Systems, Inc.\n");
mprintf(" (C) 2021 Cisco Systems, Inc.\n");
mprintf("\n");
mprintf(" clamonacc [options] [file/directory/-]\n");
mprintf("\n");

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2013 Sourcefire, Inc.
*
* Authors: Mickey Sola

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2015-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2015-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2009 Sourcefire, Inc.
*
* Authors: Tomasz Kojm, aCaB

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2020-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
*
* Author: Mickey Sola
*

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2020-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
*
* Author: Mickey Sola
*

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2019-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2019-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
*
* Authors: Mickey Sola
*

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2019-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2019-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
*
* Authors: Mickey Sola
*

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2015-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2015-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
*
* Authors: Mickey Sola
*

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2015-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2015-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
*
* Authors: Mickey Sola
*

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2019-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2019-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
*
* Authors: Mickey Sola
*

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2015-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2015-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
*
* Authors: Mickey Sola
*

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2019-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2019-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
*
* Authors: Mickey Sola
*

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2019-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2019-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
*
* Authors: Mickey Sola
*

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2019-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2019-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
*
* Authors: Mickey Sola
*

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2019-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2019-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
*
* Authors: Mickey Sola
*

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2015-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2015-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
*
* Authors: Mickey Sola
*

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2015-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2015-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
*
* Authors: Mickey Sola
*

View file

@ -1,4 +1,4 @@
# Copyright (C) 2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2020-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
if(WIN32)
add_definitions(-DWIN32_LEAN_AND_MEAN)

View file

@ -1,5 +1,5 @@
#
# Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2007-2013 Sourcefire, Inc.
# Copyright (C) 2002-2007 Tomasz Kojm <tkojm@clamav.net>
#

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2013 Sourcefire, Inc.
*
* Authors: Tomasz Kojm
@ -232,7 +232,7 @@ void help(void)
mprintf("\n");
mprintf(" Clam AntiVirus: Scanner %s\n", get_version());
printf(" By The ClamAV Team: https://www.clamav.net/about.html#credits\n");
printf(" (C) 2020 Cisco Systems, Inc.\n");
printf(" (C) 2021 Cisco Systems, Inc.\n");
mprintf("\n");
mprintf(" clamscan [options] [file/directory/-]\n");
mprintf("\n");

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2013 Sourcefire, Inc.
*
* Authors: Tomasz Kojm

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2013 Sourcefire, Inc.
*
* Authors: Tomasz Kojm

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2013 Sourcefire, Inc.
*
* Authors: Tomasz Kojm

View file

@ -1,4 +1,4 @@
# Copyright (C) 2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2020-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
if(WIN32)
add_definitions(-DWIN32_LEAN_AND_MEAN)

View file

@ -74,7 +74,7 @@ void usage(char *name)
printf("\n");
printf(" Clam AntiVirus: Malware and False Positive Reporting Tool %s\n", get_version());
printf(" By The ClamAV Team: https://www.clamav.net/about.html#credits\n");
printf(" (C) 2020 Cisco Systems, Inc.\n");
printf(" (C) 2021 Cisco Systems, Inc.\n");
printf("\n");
printf(" %s -hHinpVvd?\n", name);
printf("\n");

View file

@ -1,4 +1,4 @@
dnl Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
dnl Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
dnl Copyright (C) 2007-2013 Sourcefire, Inc.
dnl Copyright (C) 2002-2007 Tomasz Kojm <tkojm@clamav.net>
dnl socklen_t check (c) Alexander V. Lukyanov <lav@yars.free.net>

View file

@ -1,5 +1,5 @@
#
# Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2007-2013 Sourcefire, Inc.
# Copyright (C) 2002-2007 Tomasz Kojm <tkojm@clamav.net>
# Fixes by Arkadiusz Miskiewicz <misiek@pld.org.pl>
@ -40,4 +40,3 @@ install-data-local:
if test -f $(DESTDIR)$(DBINST)/daily.cvd; then chown ${CLAMAVUSER} $(DESTDIR)$(DBINST)/daily.cvd; fi;\
if test -f $(DESTDIR)$(DBINST)/daily.cvd; then chgrp ${CLAMAVGROUP} $(DESTDIR)$(DBINST)/daily.cvd; fi;\
fi

View file

@ -1,5 +1,5 @@
#
# Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2007-2013 Sourcefire, Inc.
# Copyright (C) 2002-2007 Tomasz Kojm <tkojm@clamav.net>
#

View file

@ -1,5 +1,5 @@
#
# Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2007-2013 Sourcefire, Inc.
# Copyright (C) 2002-2007 Tomasz Kojm <tkojm@clamav.net>
#

View file

@ -1,4 +1,4 @@
# Copyright (C) 2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2020-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
#
# Example executables

View file

@ -1,7 +1,7 @@
/*
* Compilation: gcc -Wall ex1.c -o ex1 -lclamav
*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2013 Sourcefire, Inc.
* Author: Tomasz Kojm <tkojm@clamav.net>
*

View file

@ -1,4 +1,4 @@
# Copyright (C) 2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2020-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
if(WIN32)
add_definitions(-DWIN32_LEAN_AND_MEAN)

View file

@ -1,5 +1,5 @@
#
# Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2007-2013 Sourcefire, Inc.
# Copyright (C) 2002-2007 Tomasz Kojm <tkojm@clamav.net>
# Fixes - Arkadiusz Miskiewicz <misiek@pld.org.pl>

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2013 Sourcefire, Inc.
* Copyright (C) 2002-2007 Tomasz Kojm <tkojm@clamav.net>
*
@ -158,7 +158,7 @@ static void help(void)
printf("\n");
printf(" Clam AntiVirus: Database Updater %s\n", get_version());
printf(" By The ClamAV Team: https://www.clamav.net/about.html#credits\n");
printf(" (C) 2020 Cisco Systems, Inc.\n");
printf(" (C) 2021 Cisco Systems, Inc.\n");
printf("\n");
printf(" freshclam [options]\n");
printf("\n");

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2002-2013 Sourcefire, Inc.
*
* This program is free software; you can redistribute it and/or modify

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2013 Sourcefire, Inc.
* Copyright (C) 2002-2007 Tomasz Kojm <tkojm@clamav.net>
*

View file

@ -1,7 +1,7 @@
/*
* Fuzz target for cl_load()
*
* Copyright (C) 2018-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2018-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Authors: Micah Snyder
*
* Redistribution and use in source and binary forms, with or without

View file

@ -1,7 +1,7 @@
/*
* Fuzz target for cl_scanfile()
*
* Copyright (C) 2018-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2018-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Authors: Micah Snyder, Alex Gaynor
*
* Redistribution and use in source and binary forms, with or without

View file

@ -1,7 +1,7 @@
/*
* Fuzz target for cl_scanmap_callback()
*
* Copyright (C) 2018-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2018-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Authors: Micah Snyder, Alex Gaynor
*
* Redistribution and use in source and binary forms, with or without
@ -37,14 +37,16 @@
#include "clamav.h"
void clamav_message_callback(enum cl_msg severity, const char *fullmsg,
const char *msg, void *context) {
const char *msg, void *context)
{
}
class ClamAVState {
class ClamAVState
{
public:
ClamAVState() {
ClamAVState()
{
// Silence all the log messages, none of them are meaningful.
cl_set_clcb_msg(clamav_message_callback);
@ -53,7 +55,8 @@ public:
cl_engine_compile(engine);
}
~ClamAVState() {
~ClamAVState()
{
cl_engine_free(engine);
}
@ -64,7 +67,8 @@ public:
// that on each execution.
ClamAVState kClamAVState;
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
{
struct cl_scan_options scanopts = {0};
@ -108,8 +112,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
&scanned,
kClamAVState.engine,
&scanopts,
nullptr
);
nullptr);
cl_fmap_close(clamav_data);

View file

@ -1,5 +1,5 @@
#!/usr/bin/env python
# Copyright (C) 2018-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2018-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
'''
This script is a convenience tool to run a standalone fuzz target against each

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2011-2013 Sourcefire, Inc.
*
* Authors: aCaB

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2011-2013 Sourcefire, Inc.
*
* Authors: aCaB

View file

@ -1,4 +1,4 @@
# Copyright (C) 2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2020-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
include_directories(
${LIBXML2_INCLUDE_DIR}

View file

@ -1,5 +1,5 @@
#
# Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
# Copyright (C) 2007-2013 Sourcefire, Inc.
# Copyright (C) 2002-2007 Tomasz Kojm <tkojm@clamav.net>
#

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013 Sourcefire, Inc.
*
* Authors: David Raynor <draynor@sourcefire.com>

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013 Sourcefire, Inc.
*
* Authors: David Raynor <draynor@sourcefire.com>

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2014-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2014-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
*
* Authors: Kevin Lin <kevlin2@cisco.com>
*

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2014-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2014-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
*
* Authors: Kevin Lin <klin@sourcefire.com>
*

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2011-2013 Sourcefire, Inc.
*
* Author: Török Edvin

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2011-2013 Sourcefire, Inc.
*
* Author: Török Edvin

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2011-2013 Sourcefire, Inc.
*
* Authors: aCaB

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2013-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2011-2013 Sourcefire, Inc.
*
* Authors: aCaB

Some files were not shown because too many files have changed in this diff Show more