• Nayuta Yanagisawa's avatar
    MDEV-26158 SIGSEGV in spider_free_mem from ha_spider::open on INSERT · e7208bd9
    Nayuta Yanagisawa authored
    The server crashes due to passing NULL to spider_free().
    
    In some cases, this == pt_handler_share_handlers[0] at the label
    error_get_share in ha_spider::open().
    
    In such cases, to nullify pt_handler_share_handlers[0]->wide_handler
    is nothing but to nullify this->wide_handler. We should not do this
    before freeing this->wide_handler.
    e7208bd9
ha_spider.cc 512 KB