parent
fdafe59e13
commit
dac2dcfc9e
|
@ -680,6 +680,7 @@ where R: BufRead + ?Sized {
|
||||||
skip,
|
skip,
|
||||||
}),
|
}),
|
||||||
) => {
|
) => {
|
||||||
|
ensure!(end >= start, "Invalid split range {:#X}..{:#X}", start, end);
|
||||||
let (section_index, _) = match obj.sections.by_name(&name)? {
|
let (section_index, _) = match obj.sections.by_name(&name)? {
|
||||||
Some(v) => Ok(v),
|
Some(v) => Ok(v),
|
||||||
None => {
|
None => {
|
||||||
|
|
Loading…
Reference in New Issue