Skip to content

Commit 4d48d28

Browse files
authored
Merge pull request bytedance#705 from bytedance/fix-mmap-twice
fix mmap twice
2 parents a40e197 + 84676f3 commit 4d48d28

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rasp/librasp/src/runtime.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ pub trait RuntimeInspect {
215215
match golang_bin_inspect(&path, &elf) {
216216
Ok(res) => {
217217
if res > 0 {
218-
let version = match golang_version(&file, &elf) {
218+
let version = match golang_version(&file, &elf, &bin) {
219219
Ok(v) => {
220220
v
221221
}

0 commit comments

Comments
 (0)