~ubuntu-branches/ubuntu/precise/mysql-5.5/precise-security

« back to all changes in this revision

Viewing changes to storage/innobase/dict/dict0dict.c

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2015-07-16 13:59:34 UTC
  • mfrom: (1.1.18)
  • Revision ID: package-import@ubuntu.com-20150716135934-plzpylrt211i3se4
Tags: 5.5.44-0ubuntu0.12.04.1
* SECURITY UPDATE: Update to 5.5.44 to fix security issues (LP: #1475294)
  - http://www.oracle.com/technetwork/topics/security/cpujul2015-2367936.html
  - CVE-2015-2582
  - CVE-2015-2620
  - CVE-2015-2643
  - CVE-2015-2648
  - CVE-2015-4737
  - CVE-2015-4752
  - CVE-2015-4757

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (c) 1996, 2014, Oracle and/or its affiliates. All Rights Reserved.
 
3
Copyright (c) 1996, 2015, Oracle and/or its affiliates. All Rights Reserved.
4
4
 
5
5
This program is free software; you can redistribute it and/or modify it under
6
6
the terms of the GNU General Public License as published by the Free Software
2530
2530
 
2531
2531
                rbt = foreign->referenced_table->referenced_rbt;
2532
2532
 
2533
 
                if (rbt != NULL) {
 
2533
                if (rbt != NULL && foreign->id != NULL) {
2534
2534
                        const ib_rbt_node_t*    node
2535
2535
                                = rbt_lookup(rbt, foreign->id);
2536
2536
                        dict_foreign_t* val = *(dict_foreign_t**) node->value;
2549
2549
                               foreign);
2550
2550
                rbt = foreign->foreign_table->foreign_rbt;
2551
2551
 
2552
 
                if (rbt != NULL) {
 
2552
                if (rbt != NULL && foreign->id != NULL) {
2553
2553
                        const ib_rbt_node_t*    node
2554
2554
                                = rbt_lookup(rbt, foreign->id);
2555
2555
                        dict_foreign_t* val = *(dict_foreign_t**) node->value;