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

Issue 7993043: code review 7993043: libmach: respect symbol table boundaries (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by ality
Modified:
12 years, 1 month ago
Reviewers:
CC:
rsc, r, golang-dev
Visibility:
Public.

Description

libmach: respect symbol table boundaries Since fp->symsz includes the size of the header in the new symbol table format, we were reading past the end and decoding a few garbage symbols from data in the pc/line table.

Patch Set 1 #

Patch Set 2 : diff -r c76d8e470353 https://code.google.com/p/go/ #

Patch Set 3 : diff -r c76d8e470353 https://code.google.com/p/go/ #

Patch Set 4 : diff -r c76d8e470353 https://code.google.com/p/go/ #

Patch Set 5 : diff -r 2eb36d0ca449 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M src/libmach/sym.c View 1 2 3 4 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 3
ality
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
12 years, 1 month ago (2013-03-24 03:47:01 UTC) #1
r
LGTM
12 years, 1 month ago (2013-03-26 20:46:21 UTC) #2
ality
12 years, 1 month ago (2013-03-27 12:59:22 UTC) #3
*** Submitted as https://code.google.com/p/go/source/detail?r=d040d5f08d5d ***

libmach: respect symbol table boundaries

Since fp->symsz includes the size of the header
in the new symbol table format, we were reading
past the end and decoding a few garbage symbols
from data in the pc/line table.

R=rsc, r
CC=golang-dev
https://codereview.appspot.com/7993043
Sign in to reply to this message.

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