Hello Kudu Jenkins, Todd Lipcon,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/12815

to look at the new patch set (#2).

Change subject: tserver: sanitize write op types
......................................................................

tserver: sanitize write op types

We previously wouldn't make sure that Write requests actually contained
write operations (i.e. INSERT, UPDATE, UPSERT, DELETE). The result is
that a malicious user could send a bad write request to crash a tablet
server.

This patch addresses this by adding different decoder modes when
decoding.

Change-Id: Ib27c335e6a68336b88f75eb8fa2c45c6e18403d5
---
M src/kudu/common/row_operations-test.cc
M src/kudu/common/row_operations.cc
M src/kudu/common/row_operations.h
M src/kudu/master/catalog_manager.cc
M src/kudu/tablet/tablet.cc
M src/kudu/tablet/transactions/write_transaction.cc
M src/kudu/tablet/transactions/write_transaction.h
M src/kudu/tools/tool_action_common.cc
M src/kudu/tserver/tablet_server-test.cc
9 files changed, 191 insertions(+), 56 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/15/12815/2
--
To view, visit http://gerrit.cloudera.org:8080/12815
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ib27c335e6a68336b88f75eb8fa2c45c6e18403d5
Gerrit-Change-Number: 12815
Gerrit-PatchSet: 2
Gerrit-Owner: Andrew Wong <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Todd Lipcon <[email protected]>

Reply via email to