Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354822
b: refs/heads/master
c: f8a2b22
h: refs/heads/master
v: v3
  • Loading branch information
Chen Gang authored and Greg Kroah-Hartman committed Jan 20, 2013
1 parent 9a2bb55 commit e02ed16
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: 4f73bc4dd3e8563ef4109f293a092820dff66d92
refs/heads/master: f8a2b220afef7699f7a90d97dbc2d8830979874e
2 changes: 1 addition & 1 deletion trunk/drivers/tty/serial/8250/8250_early.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ static int __init parse_options(struct early_serial8250_device *device,
options++;
device->baud = simple_strtoul(options, NULL, 0);
length = min(strcspn(options, " "), sizeof(device->options));
strncpy(device->options, options, length);
strlcpy(device->options, options, length);
} else {
device->baud = probe_baud(port);
snprintf(device->options, sizeof(device->options), "%u",
Expand Down

0 comments on commit e02ed16

Please sign in to comment.