mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
log-server: allow maximum-length buffers to be printed
Previously, we would reject buffers that were the maximum allowed size. This is reported in #141. Allow these maximally-sized buffers to be printed, since they don't end up causing a problem. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
ac8decce88
commit
234c169809
1 changed files with 2 additions and 2 deletions
|
|
@ -322,10 +322,10 @@ fn handle_opcode(
|
||||||
} else {
|
} else {
|
||||||
"UNKNOWN"
|
"UNKNOWN"
|
||||||
};
|
};
|
||||||
if lr.file_length as usize >= lr.file.len() {
|
if lr.file_length as usize > lr.file.len() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if lr.args_length as usize >= lr.args.len() {
|
if lr.args_length as usize > lr.args.len() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if lr.module_length as usize > lr.module.len() {
|
if lr.module_length as usize > lr.module.len() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue