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

« back to all changes in this revision

Viewing changes to storage/myisam/rt_split.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
 
/* Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
 
1
/* Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved.
2
2
   
3
3
   This program is free software; you can redistribute it and/or modify
4
4
   it under the terms of the GNU General Public License as published by
68
68
    b += 2;
69
69
  }while (a != end);
70
70
 
 
71
   /* Check for infinity or NaN */
 
72
  if (my_isinf(square) || isnan(square))
 
73
    square = DBL_MAX;
 
74
 
71
75
  return square;
72
76
}
73
77
 
102
106
  double max_d = -DBL_MAX;
103
107
  double d;
104
108
 
 
109
  *seed_a = node;
 
110
  *seed_b = node + 1;
 
111
 
105
112
  for (cur1 = node; cur1 < lim1; ++cur1)
106
113
  {
107
114
    for (cur2=cur1 + 1; cur2 < lim2; ++cur2)