Files
OpenSTA/liberty
James Molloyandjmolloy 7fbe386d35 [liberty] Fix use-before-free bug (#170)
Before this change, findTableTemplate captured `name` always. This caused a segfault
when LibertyReader::beginTable calls it with `template_name`:

  const char *template_name = group->firstName();
  if (library_ && template_name) {
    tbl_template_ = library_->findTableTemplate(template_name, type);

This pointer is owned by the group and is freed when we hit sta::libertyGroupEnd.

Ensure that findTableTemplate does not capture `name` by using findKey.

Co-authored-by: jmolloy <[email protected]>
2025-01-11 09:03:53 -08:00
..
2024-02-27 10:00:48 -07:00
2024-02-11 11:45:40 -07:00
2024-01-11 16:34:49 -08:00
2024-07-24 09:04:08 -07:00
2024-01-11 16:34:49 -08:00
2024-01-11 16:34:49 -08:00
2024-01-11 16:34:49 -08:00
2024-01-11 16:34:49 -08:00
2024-01-11 16:34:49 -08:00
2024-01-11 16:34:49 -08:00
2024-11-05 08:38:59 -08:00
2024-01-11 16:34:49 -08:00
2024-01-11 16:34:49 -08:00
2024-08-04 17:10:04 -07:00
2024-07-31 16:36:24 -07:00
2024-07-24 09:04:08 -07:00
2024-01-11 16:34:49 -08:00
2024-11-13 19:09:27 -08:00
2024-01-11 16:34:49 -08:00