Print this page
5425 ld_unwind_populate_hdr likely misaccounts for 'P'

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/libld/common/unwind.c
          +++ new/usr/src/cmd/sgs/libld/common/unwind.c
↓ open down ↓ 626 lines elided ↑ open up ↑
 627  627                                          case 'P':
 628  628                                              /* personality */
 629  629                                              ciePflag = data[off + ndx];
 630  630                                              ndx++;
 631  631                                                  /*
 632  632                                                   * Just need to extract the
 633  633                                                   * value to move on to the next
 634  634                                                   * field.
 635  635                                                   */
 636  636                                              (void) dwarf_ehe_extract(
 637      -                                                &data[off + ndx],
      637 +                                                &data[off],
 638  638                                                  &ndx, ciePflag,
 639  639                                                  ofl->ofl_dehdr->e_ident, B_FALSE,
 640  640                                                  shdr->sh_addr, off + ndx, 0);
 641  641                                              break;
 642  642                                          case 'R':
 643  643                                              /* code encoding */
 644  644                                              cieRflag = data[off + ndx];
 645  645                                              ndx++;
 646  646                                              break;
 647  647                                          case 'L':
↓ open down ↓ 149 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX