mariadb/myisam
unknown 3770083b5b Bug #27119 server crash with integer division by zero during filesort on huge result
Added checks to detect integer overflow and fixed other bugs on the error path.


myisam/sort.c:
  Replaced a break statement with a goto statement so that a failure will instead break
sql/filesort.cc:
  Fixed an allocation routine to detect integer overflow, and as an optimization a check that prevents the number of buffpeks being larger than can possibly fit into memory.
      
  Fixed several unchecked error codes.
      
  Changed an index variable from int to uint to the match the type of the variable it's
  being compared with.
      
      Replaced a break statement with a goto statement so that a failure will instead break
  out of the higher level while-loop, instead of just the nested for-loop.
2007-05-16 16:14:13 -04:00
..
ftbench ftbench fixes 2003-10-23 23:33:06 +02:00
.cvsignore This ChangeSet adds RTREE support into myisam library. 2002-02-20 14:11:21 +04:00
ChangeLog New thr_alarm struct for better integration with OS2 2000-11-28 04:47:47 +02:00
CMakeLists.txt Bug#24732 Executables do not include Vista manifests 2007-04-23 15:41:24 -04:00
ft_boolean_search.c Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-01-22 14:04:40 +02:00
ft_eval.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
ft_eval.h Many files: 2006-12-23 20:17:15 +01:00
ft_nlq_search.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
ft_parser.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
ft_static.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
ft_stem.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
ft_stopwords.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
ft_test1.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
ft_test1.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
ft_update.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
ftdefs.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
fulltext.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
make-ccc Import changeset 2000-07-31 21:29:14 +02:00
Makefile.am my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_cache.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_changed.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_check.c Merge mysql.com:/d2/hf/common/my50-common 2007-01-03 11:13:01 +04:00
mi_checksum.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_close.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_create.c Merge mysql.com:/home/svoj/devel/mysql/BUG26881/mysql-4.1-engines 2007-03-13 18:11:47 +04:00
mi_dbug.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_delete.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_delete_all.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_delete_table.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_dynrec.c Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-01-03 08:52:50 +01:00
mi_extra.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_info.c BUG#27516 - divide by zero crash during optimize table 2007-04-13 12:38:27 +05:00
mi_key.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_keycache.c Many files: 2006-12-23 20:17:15 +01:00
mi_locking.c Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-01-03 08:52:50 +01:00
mi_log.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_open.c Removed tabs. 2007-03-14 02:30:05 +04:00
mi_packrec.c Fixed compiler warnings (for linux and win32 and win64) 2007-02-22 16:59:57 +02:00
mi_page.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_panic.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_preload.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_range.c Merge chilla.local:/home/mydev/mysql-4.1-axmrg 2007-03-28 10:25:51 +02:00
mi_rename.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_rfirst.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_rkey.c Merge mysql.com:/home/svoj/devel/mysql/warn/mysql-4.1-engines 2007-04-19 11:56:06 +05:00
mi_rlast.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_rnext.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_rnext_same.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_rprev.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_rrnd.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_rsame.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_rsamepos.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_scan.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_search.c Merge chilla.local:/home/mydev/mysql-4.1-axmrg 2007-03-28 10:25:51 +02:00
mi_static.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_statrec.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_test1.c Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 2006-12-31 01:04:07 +01:00
mi_test2.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_test3.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_test_all.res Merge chilla.local:/home/mydev/mysql-4.1-bug14400-monty 2006-09-19 11:27:00 +02:00
mi_test_all.sh Better bug fix for #14400 "Query joins wrong rows from table which is subject of "concurrent insert"" 2006-08-10 22:41:19 +03:00
mi_unique.c Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-01-22 14:04:40 +02:00
mi_update.c Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-01-03 08:52:50 +01:00
mi_write.c Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-01-03 08:52:50 +01:00
myisam_ftdump.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
myisamchk.c Fixed compiler warnings (for linux and win32 and win64) 2007-02-22 16:59:57 +02:00
myisamdef.h Merge mysql.com:/home/svoj/devel/mysql/BUG24342/mysql-4.1-engines 2007-04-18 16:22:23 +05:00
myisamlog.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
myisampack.c Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-01-22 14:04:40 +02:00
NEWS Import changeset 2000-07-31 21:29:14 +02:00
rt_index.c Merge mysql.com:/home/svoj/devel/bk/mysql-5.0 2007-03-13 16:58:52 +04:00
rt_index.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
rt_key.c Merge chilla.local:/home/mydev/mysql-4.1-bug25673 2007-03-08 10:10:17 +01:00
rt_key.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
rt_mbr.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
rt_mbr.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
rt_split.c Merge chilla.local:/home/mydev/mysql-4.1-bug25673 2007-03-08 10:10:17 +01:00
rt_test.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
sort.c Bug #27119 server crash with integer division by zero during filesort on huge result 2007-05-16 16:14:13 -04:00
sp_defs.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
sp_key.c Many files: 2006-12-23 20:17:15 +01:00
sp_test.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
test_pack Import changeset 2000-07-31 21:29:14 +02:00
TODO Import changeset 2000-07-31 21:29:14 +02:00