Menu

#67 [PATCH] Avoid possible crash as well as memory leak in killall

Next Release
closed
None
1
2015-06-05
2015-03-12
No

By reading the current HEAD I stumbled on a memory leak in killall.c as well as on n not assigned pointer got_long in load_proc_cmdline() which may lead to SIGSEGV ... the attached patch may fix this (IMHO). Is this correct?

Werner

1 Attachments

Discussion

  • Craig Small

    Craig Small - 2015-03-14

    Hi Werner,
    Yes it looks like it got messed up when i was copying and pasting to shuffle that loop around. I have applied the patch and committed the patch at [05a66f]. I couldn't git am it but it looks ok with the right attributions now.

     

    Related

    Commit: [05a66f]

  • Craig Small

    Craig Small - 2015-03-14
    • status: open --> closed
    • assigned_to: Dr. Werner Fink
     
  • Anonymous

    Anonymous - 2015-06-05
    Post awaiting moderation.
  • Anonymous

    Anonymous - 2015-06-05
    Post awaiting moderation.

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB