Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(562)

Issue 319000043: TBR: i#2113: avoid racy crashes in ELF header queries

Can't Edit
Can't Publish+Mail
Start Review
Created:
7 years, 4 months ago by bruening
Modified:
7 years, 4 months ago
Reviewers:
zhaoqin
CC:
dynamorio-devs_googlegroups.com
Visibility:
Public.

Description

Commit log for first patchset: --------------- i#2113: avoid racy crashes in ELF header queries Changes is_elf_so_header_common() to always use a safe_read() once the fast version is available during init. This avoids crashes due to protection changing in a racy manner. Fixes #2113 ---------------

Patch Set 1 #

Patch Set 2 : Committed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -2 lines) Patch
M core/unix/module_elf.c View 2 chunks +13 lines, -2 lines 0 comments Download
M core/unix/os.c View 1 chunk +11 lines, -0 lines 0 comments Download
M core/unix/os_private.h View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 2
bruening
7 years, 4 months ago (2016-12-20 17:12:34 UTC) #1
bruening
7 years, 4 months ago (2016-12-20 17:12:36 UTC) #2
Committed as
https://github.com/DynamoRIO/dynamorio/commit/71427ac79d93bda1621d076994cb4b6...

Final commit log: 
---------------
i#2113: avoid racy crashes in ELF header queries

Changes is_elf_so_header_common() to always use a safe_read() once the fast
version is available during init.  This avoids crashes due to protection
changing in a racy manner.

Fixes #2113

Review-URL: https://codereview.appspot.com/319000043
---------------
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b