Bug #118067 Deprecated license use (mysql-linking-exception-2018
Submitted: 28 Apr 9:19 Modified: 29 Apr 7:44
Reporter: Nikola Davidova Email Updates:
Status: Verified Impact on me:
None 
Category:Connector / ODBC Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[28 Apr 9:19] Nikola Davidova
Description:
The following files contain a deprecated exception mysql-linking-exception-2018 (Text of license: https://scancode-licensedb.aboutcode.org/mysql-linking-exception-2018.html):
(For the full list see How to repeat section)
./include/mysql-8.0/add_with_saturate.h
./include/mysql-8.0/base64.h
./include/mysql-8.0/big_endian.h
./include/mysql-8.0/c_string_less.h
./include/mysql-8.0/caching_sha2_passwordopt-longopts.h
./include/mysql-8.0/caching_sha2_passwordopt-vars.h
./include/mysql-8.0/compression.h
./include/mysql-8.0/crypt_genhash_impl.h
./include/mysql-8.0/decimal.h
./include/mysql-8.0/depth_first_search.h
./include/mysql-8.0/dur_prop.h
./include/mysql-8.0/errmsg.h
./include/mysql-8.0/field_types.h
./include/mysql-8.0/ft_global.h
./include/mysql-8.0/guard.h
./include/mysql-8.0/heap.h
./include/mysql-8.0/integer_digits.h
./include/mysql-8.0/keycache.h
./include/mysql-8.0/lex_string.h
./include/mysql-8.0/lf.h
./include/mysql-8.0/little_endian.h
./include/mysql-8.0/m_ctype.h
./include/mysql-8.0/m_string.h
./include/mysql-8.0/map_helpers.h
./include/mysql-8.0/memory_debugging.h
./include/mysql-8.0/mf_wcomp.h
./include/mysql-8.0/mutex_lock.h
./include/mysql-8.0/my_aes.h
./include/mysql-8.0/my_alloc.h
./include/mysql-8.0/my_atomic.h
./include/mysql-8.0/my_base.h
./include/mysql-8.0/my_basename.h
./include/mysql-8.0/my_bit.h
./include/mysql-8.0/my_bitmap.h
./include/mysql-8.0/my_byteorder.h
./include/mysql-8.0/my_check_opt.h
./include/mysql-8.0/my_command.h
./include/mysql-8.0/my_compare.h
./include/mysql-8.0/my_compiler.h
./include/mysql-8.0/my_compress.h
./include/mysql-8.0/my_dbug.h
./include/mysql-8.0/my_default.h
./include/mysql-8.0/my_dir.h
./include/mysql-8.0/my_double2ulonglong.h
./include/mysql-8.0/my_getopt.h
./include/mysql-8.0/my_getpwnam.h
./include/mysql-8.0/my_hostname.h
./include/mysql-8.0/my_icp.h
./include/mysql-8.0/my_inttypes.h
./include/mysql-8.0/my_io.h
./include/mysql-8.0/my_list.h
... Total: 413

How to repeat:
Use pcregprep to search for the text of deprecated licenses:
pcregrep -r -M -l --buffer-size=1000000 "This program is also distributed with certain software \(including\s*^.*?but not limited to OpenSSL\) that is licensed under separate terms,\s*^.*?as designated in a particular file or component or in included license\s*^.*?documentation\.  The authors of MySQL hereby grant you an additional\s*^.*?permission to link the program and your derivative works with the\s*^.*?separately licensed software that they have included with MySQL\." .

Suggested fix:
It is usually replaced with Universal FOSS exception https://www.mysql.com/about/legal/licensing/foss-exception/
[29 Apr 7:44] MySQL Verification Team
Hello Nikola Davidova,

Thank you for the report and feedback.

Regards,
Ashwini Patil
[29 Apr 9:41] Rafal Somla
Posted by developer:
 
To me it does not look like anything related to MySQL ODBC driver sources -- looks more like server sources. Changing category.
[29 Apr 9:44] Rafal Somla
Posted by developer:
 
I was wrong -- this is ODBC driver sources. Changing back to ODBC category.