• Igor Babaev's avatar
    MDEV-24281 Reading from freed memory when running main.view with --ps-protocol · bbf02c85
    Igor Babaev authored
    This bug could affect prepared statements for the command CREATE VIEW with
    specification that contained unnamed basic constant in select list. If
    generation of a valid name for the corresponding view column required
    resolution of conflicts with names of other columns that were explicitly
    defined then execution of such prepared statement and following deallocation
    of this statement led to reading from freed memory.
    
    Approved by Oleksandr Byelkin <sanja@mariadb.com>
    bbf02c85
view.result 210 KB