mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
c9761d0872
WITH MYISAM_USE_MMAP ENABLED MySQL server can crash due to segmentation fault when started with myisam_use_mmap. The reason behind this being, while making a request to unmap (munmap) the previously mapped memory (mmap), the size passed was 7 bytes larger than the size requested at the time of mapping. This can eventually unmap the adjacent memory mapped block, belonging to some other memory-map pool. Hence the subsequent call to mmap can map a region which was still a valid memory mapped area. Fixed by removing the extra 7-byte margin which was erroneously added to the size, used for unmappping. |
||
---|---|---|
.. | ||
archive | ||
blackhole | ||
csv | ||
example | ||
federated | ||
heap | ||
innobase | ||
innodb_plugin | ||
myisam | ||
myisammrg | ||
ndb | ||
Makefile.am | ||
mysql_storage_engine.cmake |