mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +00:00
parent
518d157f76
commit
67fd3333e2
@ -198,6 +198,7 @@ class Genode::Msgbuf_base : Noncopyable
|
||||
if (_data_size + num_bytes > _capacity) return;
|
||||
|
||||
/* copy buffer */
|
||||
if (src_addr && num_bytes)
|
||||
memcpy(_data_last(), src_addr, num_bytes);
|
||||
|
||||
/* increment write pointer to next dword-aligned value */
|
||||
|
@ -170,7 +170,7 @@ class Linker::Reloc_jmpslot_generic
|
||||
}
|
||||
}
|
||||
|
||||
Elf::Addr target_addr() const { return *_addr; }
|
||||
Elf::Addr target_addr() const { return _addr ? *_addr : 0; }
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user