Project

General

Profile

Bug #5546

libproc's fake_elf may free stack junk when reading corrupt dumps

Added by Rich Lowe almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2015-01-20
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

If we fail to read .dynamic in general, dp will point to stack junk which we'll then try to free under 'bad:'

History

#1

Updated by Electric Monk almost 5 years ago

  • % Done changed from 90 to 100
  • Status changed from In Progress to Closed

git commit 7199059354284218c1c31276b0a51935fb228cc2

commit  7199059354284218c1c31276b0a51935fb228cc2
Author: Richard Lowe <richlowe@richlowe.net>
Date:   2015-01-27T16:13:12.000Z

    5546 libproc's fake_elf may free stack junk when reading corrupt dumps
    Reviewed by: Dan McDonald <danmcd@omniti.com>
    Reviewed by: Adam Leventhal <adam.leventhal@delphix.com>
    Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
    Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Also available in: Atom PDF