perl5-dbi / DBD-mysql

MySQL driver for the Perl5 Database Interface (DBI)
https://metacpan.org/module/DBD::mysql
Other
63 stars 73 forks source link

dbd_st_finish() does not check mysql_db_async_result() failure #315

Open ppisar opened 5 years ago

ppisar commented 5 years ago

dbd_st_finish() calls mysql_db_async_result() without checking its return value. mysql_db_async_result() can fail and it that case dbd_st_finish() should also signal an error.

pali commented 5 years ago

Hi @ppisar, is this problem also in DBD::MariaDB?

jplesnik commented 3 years ago

Hi @pali , yes, it is also in DBD::MariaDB.

mariadb_st_finish() calls mariadb_db_async_result() without checking return value.