Ticket #1010 (closed patch: done)

Opened 5 years ago

Last modified 5 years ago

Fix FixedBooleanArray "fill" method, rewrite tests in PIR

Reported by: flh Owned by:
Priority: normal Milestone:
Component: core Version: trunk
Severity: medium Keywords:
Cc: Language:
Patch status: applied Platform: all

Description

The "fill" method in the FBA PMC currently does not check whether the bit_array is NULL or not, which causes a segfault when we call it on an empty array.

The attached patch fixed this. It also rewrites t/pmc/fixedbooleanarray.t in PIR.

Attachments

fba_test_and_fill.patch Download (12.2 KB) - added by flh 5 years ago.

Change History

Changed 5 years ago by flh

Changed 5 years ago by NotFound

  • status changed from new to closed
  • resolution set to done
  • patch changed from new to applied

pmc part overrided by a cleanup done in r41275. t part applied in r41276

Thanks!

Note: See TracTickets for help on using tickets.