Ticket #9 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Infinite loop if an archive directory doesn't exit

Reported by: eric van der vlist <http://eric.van-der-vlist.com/> Owned by: eric van der vlist <http://eric.van-der-vlist.com/>
Priority: major Milestone:
Component: wp-plugin Version:
Keywords: Cc:

Description

If for whatever reason an archive directory is missing the plugin loops over the following statements:

                while (false !== ($file = readdir($dir))) {
                    if ('.html' === substr($file, strlen($file) - 5)) {
                        $file_location = '.'.$loc.'/' . $file;
                        break;
                    }
                }

Change History

comment:1 Changed 5 years ago by eric van der vlist <http://eric.van-der-vlist.com/>

  • Owner changed from vdv@dyomedea.com to eric van der vlist <http://eric.van-der-vlist.com/>
  • Status changed from new to accepted

comment:2 Changed 5 years ago by eric van der vlist <http://eric.van-der-vlist.com/>

  • Status changed from accepted to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.