projects
/
project
/
udebug.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14d4fec
)
ucode: fix entries/size confusion
author
Felix Fietkau
<
[email protected]
>
Wed, 23 Jul 2025 09:51:39 +0000
(11:51 +0200)
committer
Felix Fietkau
<
[email protected]
>
Wed, 23 Jul 2025 09:51:39 +0000
(11:51 +0200)
Signed-off-by: Felix Fietkau <
[email protected]
>
lib-ucode.c
patch
|
blob
|
history
diff --git
a/lib-ucode.c
b/lib-ucode.c
index 49e60fafab3a2361a5d83430892934e79b5fa3d5..d282197af0dd2fad41276bf9275c4748bdda318a 100644
(file)
--- a/
lib-ucode.c
+++ b/
lib-ucode.c
@@
-570,7
+570,7
@@
uc_udebug_create_ring(uc_vm_t *vm, size_t nargs)
meta->n_flags++;
}
- if (udebug_buf_init(buf, ucv_int64_get(
size), ucv_int64_get(entries
))) {
+ if (udebug_buf_init(buf, ucv_int64_get(
entries), ucv_int64_get(size
))) {
free(buf);
return NULL;
}