#240 parsed_filename.jit_dumpfile_exists represent wrong value.

None
closed-fixed
None
5
2013-07-29
2013-04-11
Ghacker
No

Member variable jit_dumpfile_exists of parsed_filename structure is used for represent that lib_image is a JIT dump file which have ".jo" as its suffix.
But parsed_filename is not class but structure and jit_dumpfile_exists is not a object.
So, if it's instantiated on stack jit_dumpfile_exists would contain garbage as it initial value.
(It really occurs in a function "parse_event_spec")

Discussion

  • Ghacker

    Ghacker - 2013-04-11

    Constructor to initalize non-object member is added.

     
  • Maynard Johnson

    Maynard Johnson - 2013-04-11
    • assigned_to: nobody --> maynardj
    • status: open --> open-fixed
     
  • Maynard Johnson

    Maynard Johnson - 2013-04-11

    Thanks for the patch. I committed and pushed it upstream, with just minor editorial changes in the comment.

     
  • Maynard Johnson

    Maynard Johnson - 2013-07-29
    • status: open-fixed --> closed-fixed
    • Group: -->
     

Log in to post a comment.