• Tor Didriksen's avatar
    Bug #59632 Assertion failed: arg_length > length · dcd9f246
    Tor Didriksen authored
    The problem was overflow in max_length when we tried to des_decrypt()
    something which is not the output of des_encrypt()
    
    
    mysql-test/r/ssl_and_innodb.result:
      New test case.
    mysql-test/t/ssl_and_innodb.test:
      New test case.
    sql/item_strfunc.h:
      Do not subtract the encrypt overhead (9U) if args[0] has length < 9
      (In unsigned arithmetic, (1-9) becomes a very large number)
    dcd9f246
ssl_and_innodb.test 261 Bytes