Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
if (index >= typed_array_obj->garray->len) {
BT_LOGW("Invalid parameter: index is out of bounds: "
if (index >= typed_array_obj->garray->len) {
BT_LOGW("Invalid parameter: index is out of bounds: "
- "addr=%p, index=%" PRIu64,
- array_obj, index);
+ "addr=%p, index=%" PRIu64 ", size=%u",
+ array_obj, index, typed_array_obj->garray->len);
if (index >= typed_array_obj->garray->len) {
BT_LOGW("Invalid parameter: index is out of bounds: "
if (index >= typed_array_obj->garray->len) {
BT_LOGW("Invalid parameter: index is out of bounds: "
- "addr=%p, index=%" PRIu64,
- array_obj, index);
+ "addr=%p, index=%" PRIu64 ", size=%u",
+ array_obj, index, typed_array_obj->garray->len);
ret = BT_VALUE_STATUS_INVAL;
goto end;
}
ret = BT_VALUE_STATUS_INVAL;
goto end;
}
quark = g_quark_from_string(key);
ret = g_hash_table_lookup(typed_map_obj->ght, GUINT_TO_POINTER(quark));
quark = g_quark_from_string(key);
ret = g_hash_table_lookup(typed_map_obj->ght, GUINT_TO_POINTER(quark));
if (ret) {
bt_get(ret);
}
if (ret) {
bt_get(ret);
}