Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Issue 222313004: PNaCl bitcode reader: restrict some record sizes (Closed)

Created:
6 years, 8 months ago by JF
Modified:
6 years, 8 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
http://git.chromium.org/native_client/pnacl-llvm.git@master
Visibility:
Public.

Description

PNaCl bitcode reader: restrict some record sizes The PNaCl bitcode reader allows too many entries in some records, and these extra entries never happen in practice. This change makes sure we don't allow and then ignore too many things in the bitcode format. This came up in: https://codereview.chromium.org/221693002/ R=kschimpf@google.com, jvoung@chromium.org, kschimpf@chromium.org TEST= ./scons small_tests medium_tests bitcode=1 BUG= none Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-llvm.git;a=commit;h=6110bae

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -15 lines) Patch
M lib/Bitcode/NaCl/Reader/NaClBitcodeReader.cpp View 5 chunks +27 lines, -15 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
JF
6 years, 8 months ago (2014-04-02 18:36:25 UTC) #1
Karl
lgtm
6 years, 8 months ago (2014-04-02 20:41:00 UTC) #2
JF
6 years, 8 months ago (2014-04-02 23:25:46 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r6110bae (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698