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

Issue 152440043: code review 152440043: goprotobuf: Check GetProperties is passed a struct early on. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 6 months ago by dsymonds
Modified:
9 years, 6 months ago
Reviewers:
gmlewis1
CC:
gmlewis1, golang-codereviews
Visibility:
Public.

Description

goprotobuf: Check GetProperties is passed a struct early on. This avoids a a dangling lock later on if a bad type is passed in.

Patch Set 1 #

Patch Set 2 : diff -r 988645649e33b195b11121d089511205099e6c79 https://code.google.com/p/goprotobuf #

Patch Set 3 : diff -r 988645649e33b195b11121d089511205099e6c79 https://code.google.com/p/goprotobuf #

Patch Set 4 : diff -r 988645649e33b195b11121d089511205099e6c79 https://code.google.com/p/goprotobuf #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M proto/properties.go View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 3
dsymonds
Hello gmlewis@google.com (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/goprotobuf
9 years, 6 months ago (2014-10-12 05:26:08 UTC) #1
gmlewis1
LGTM
9 years, 6 months ago (2014-10-12 05:26:57 UTC) #2
dsymonds
9 years, 6 months ago (2014-10-12 05:27:36 UTC) #3
*** Submitted as
https://code.google.com/p/goprotobuf/source/detail?r=4310c3969b29 ***

goprotobuf: Check GetProperties is passed a struct early on.

This avoids a a dangling lock later on if a bad type is passed in.

LGTM=gmlewis
R=gmlewis
CC=golang-codereviews
https://codereview.appspot.com/152440043
Sign in to reply to this message.

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