mariadb/plugin
Sergei Golubchik e02749aaf5 completely rewrote file_key_management plugin
numerous issues fixed:
* buffer overflows
* error conditions aren't checked (crash if file doesn't exist)
* accessing random unallocated memory
* hard-coded password
* arbitrary hard-coded key id limit
* incomprehensible error messages (for key_id == 0 it reported
  "The key could not be initialized", for syntax errors the message was
  "Wrong match of the keyID, see the template", for a key id
  larger than hard-coded limit the message was "No asked key", and there
  was an error "Is comment" for a comment).
* tons of small mallocs, many are freed few lines down in the code
* malloc(N) and new char[N] are used both, even in the same function
* redundant memory copies
* pcre - "I can solve it with regular expressions" - with incorrect regexes
* parser context stored in a singleton
* keys are stored as strings and are strlen-ed and hex2bin-ed on every
  get_key() request
* lots of useless code (e.g. sprintf instead of a pointer assignment,
  checking of the file length to read a part of it in a fixed buffer,
  multiplying by sizeof(char) in many places, etc)
* this list is not exhaustive
2015-04-08 10:58:50 +02:00
..
audit_null
auth_dialog
auth_examples
auth_pam
auth_socket
cracklib_password_check
daemon_example
debug_key_management rename plugins to remove "_plugin" from the plugin name 2015-04-08 10:58:48 +02:00
example_key_management rename plugins to remove "_plugin" from the plugin name 2015-04-08 10:58:48 +02:00
feedback
file_key_management completely rewrote file_key_management plugin 2015-04-08 10:58:50 +02:00
fulltext
handler_socket MDEV-7671: Cache VIEW definitions in the TDC 2015-03-11 17:39:15 +01:00
locale_info
metadata_lock_info
qc_info
query_response_time
semisync MDEV-6650 - LINT_INIT emits code in non-debug builds 2015-03-16 14:48:22 +04:00
server_audit Merge branch '5.5' into 10.0 2015-02-18 15:16:27 +01:00
simple_password_check
sql_errlog
userstat
win_auth_client
wsrep_info