Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306613
b: refs/heads/master
c: d1ff320
h: refs/heads/master
i:
  306611: a98df5e
v: v3
  • Loading branch information
Daniel Kurtz authored and Dmitry Torokhov committed May 11, 2012
1 parent 02a3f7c commit ae5820f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 71b3e938cb97f6cf324fb5aaca46d8e400dc38f0
refs/heads/master: d1ff320f0a9766a53ae412d96f72bd861a889af6
2 changes: 1 addition & 1 deletion trunk/drivers/input/touchscreen/atmel_mxt_ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ static int mxt_write_object(struct mxt_data *data,
u16 reg;

object = mxt_get_object(data, type);
if (!object)
if (!object || offset >= object->size + 1)
return -EINVAL;

reg = object->start_address;
Expand Down

0 comments on commit ae5820f

Please sign in to comment.