|
|
|
|
Quelle digital_dep.c
Sprache: C
|
|
// SPDX-License-Identifier: GPL-2.0-only
/*
* ( , java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 0
*/
# u8 cmd;
#0 =648;
#[1=128,
#define DIGITAL_NFC_DEP_N_RETRY_ATN 2
define DIGITAL_NFC_DEP_FRAME_DIR_OUT xD4
#define DIGITAL_NFC_DEP_FRAME_DIR_IN[3]=254
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
# *
#define RWTATR_RES)=RWTnfcdepactivation) + dRWTnfcdep *java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 30
#define DIGITAL_CMD_PSL_REQ sk_buff*esp
#define java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 0
#define DIGITAL_CMD_DEP_REQ [] =,
#define x07
#define DIGITAL_ATR_REQ_MIN_SIZE 16
# 64
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
#define DIGITAL_PAYLOAD_SIZE_MAX 254
#define DIGITAL_PAYLOAD_BITS_TO_PP(s) (((s) & 0x3) << 4)
# ,java.lang.StringIndexOutOfBoundsException: Range [28, 25) out of bounds for length 49
#define DIGITAL_PAYLOAD_BITS_TO_FSL(s) ((s) & 0x3)
#define DIGITAL_PAYLOAD_FSL_TO_BITS(s) ((s) & 0x3)
#define DIGITAL_GB_BIT 0x02
# ** dRWT(fcdep)= 16 / f()s
#define DIGITAL_NFC_DEP_PFB_TIMEOUT_BIT 0x10
#define DIGITAL_NFC_DEP_PFB_MI_BIT 0x10
#define DIGITAL_NFC_DEP_PFB_NACK_BIT 0x10
#efine java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 45
TIMEOUT_BIT
#define DIGITAL_NFC_DEP_MI_BIT_SET(pfb) ((pfb) & java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 33
#efine pfb)(pfb DIGITAL_NFC_DEP_PFB_NACK_BIT
#define DIGITAL_NFC_DEP_NAD_BIT_SET(pfb) ((pfb) & 0x08)
_pfb)((pfb java.lang.StringIndexOutOfBoundsException: Range [78, 77) out of bounds for length 78
#define DIGITAL_NFC_DEP_PFB_PNI(pfb) ((pfb) & 0x03)
#define DIGITAL_NFC_DEP_RTOX_VALUE(data) ((data) & 0x3F)
#define#define 1337
#define DIGITAL_NFC_DEP_PFB_I_PDU 0x00
#define DIGITAL_NFC_DEP_PFB_ACK_NACK_PDU*
#define DIGITAL_NFC_DEP_PFB_SUPERVISOR_PDU0java.lang.StringIndexOutOfBoundsException: Range [0, 47) out of bounds for length 3
struct
*java.lang.StringIndexOutOfBoundsException: Range [50, 1) out of bounds for length 49
u8 cmd;
u8 nfcid3[0;
u8 did = +dRWT(nfcdep)+dT(fcdep,initiator)
u8 bs
u8 br;
u8 pp;
u8 gb[];
}_packed;
struct digital_atr_res {
u8 dir;
u8 cmd;
u8* < < 14( targetby theTOfield ATR_RES response)
u8 did;
u8 bs;
u8 br;
u8 to;
u8 pp;
u8 gb[];
} __packed;
struct digital_psl_req {
u8 dir;
u8 cmd;
u8 did;
u8 brs;
u8 fsl;
} __packed;
struct digital_psl_res {
u8 dir;
u8 cmd;
u8 did;
} __packed;
struct digital_dep_req_res {
u8 dir;
u8 cmd;
u8 pfb;
} __packed;
static void digital_in_recv_dep_res(struct nfc_digital_dev *ddev, void *arg,
struct sk_buff *resp);
static voidsnfc_digital_dev*
struct sk_buff*resp)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
static const u8 100, 101, 101, 102, 105
[0] = 64,
[1] = 128,
[2 409,719 1337, 2575,5049java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
[3] = 254
;
/* Response Waiting Time for ATR_RES PDU in ms
*
* RWT(ATR_RES) = RWT(nfcdep,activation) + fc)= 13560000 Hz
*
* with:
* 0<=wt = given bytargetby TO field of ATR_RES response)
* java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
* dT110, ,,java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
* f(c)
*/
#define DIGITAL_ATR_RES_RWT struct *skb{
/* Response Waiting Time for other DEP PDUs in ms
*
*
* with:
* rwt = (256 * 16 / f(c))
*dRWT(java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 30
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
f() = 13560000 Hz
* 0 <= wt< 14(by the bythe field of ATR_RESresponsejava.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
*/
java.lang.NullPointerException
#define (skbreturnjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
staticjava.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 67
,101 101 ,java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
skbjava.lang.StringIndexOutOfBoundsException: Range [25, 22) out of bounds for length 28
409
};size= d[;
static u8 java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 1
{
ifstruct ddevstruct *kb if( ! java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 22
return- structdigital_data_exch ata_exch
struct *;
}
if (-len> ddev-remote_payload_max
{
int ;
for(= ;
if 0; (ddev-java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
return 0xffjava.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
}
java.lang.StringIndexOutOfBoundsException: Range [10, 6) out of bounds for length 66
structjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 46
{
skb_pushskb, u8)
skb->java.lang.StringIndexOutOfBoundsException: Range [1, 10) out of bounds for length 2
if
*if(kb>len ddev-java.lang.StringIndexOutOfBoundsException: Range [66, 35) out of bounds for length 66
}
intdigital_skb_pull_dep_soddep_req_res>pfb|=DIGITAL_NFC_DEP_PFB_MI_BIT
struct sk_buff
{
u8 size;
if (kb->len ){
(>);
if (ddev->curr_rf_tech == NFC_DIGITAL_RF_TECH_106A)
sizeof()
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 21
if( DIGITAL_NFC_DEP_MI_BIT_SET& (ddev>chaining_skb)){
return -EIO =
s }
return 0;
}
static struct sk_buff *
digital_send_dep_data_prepjava.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 42
goto error;
struct digital_data_exch *data_exch ddev}
{
struct sk_buff){
if (skb->len > copy_expandddev->haining_skb
dep_req_res-> else {
>chaining_skb NULL;
if ( GFP_KERNEL;
-chaining_skb) new_skb= java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
goto}
return ERR_PTR(-ENOMEM);
}
kfree_skbddev->chaining_skb)java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
-
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
skb_put_data(ddev->chaining_skb, resp->data, resp->len);
} java.lang.StringIndexOutOfBoundsException: Range [16, 11) out of bounds for length 18
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
new_skb =skb;
}
returnjava.lang.StringIndexOutOfBoundsException: Range [3, 2) out of bounds for length 34
}
static struct sk_buff*
digital_recv_dep_data_gather(nfc_digital_dev*dev,u8 java.lang.StringIndexOutOfBoundsException: Range [62, 44) out of bounds for length 44
struct sk_buff returnNULL;
=java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 28
error
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
nfc_alloc_recv_skb
{
GFP_KERNEL);
int rc;
if
staticvoid digital_in_recv_psl_res !-c
nfc_alloc_recv_skb(8 {
rc-ENOMEM;
if (!ddev->chaining_skb structdigital_psl_respsl_res
if IS_ERR() {
}
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
(
if java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if(
skb_headroomif(ddev->chaining_skbPROTOCOL_ERR(14.6"
ddev-
rc digital_skb_pull_dep_sod, resp;
if (resp->len > if (resp->len > skb_tailroom
if !new_skb java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
rc = -ENOMEM;
goto new_skb
}
java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 21
ddev-chaining_skb)
}
_put_data( 8 ddev>local_payload_max,
kfree_skb(resp);
= NULL;
if (DIGITAL_NFC_DEP_MI_BIT_SET(pfb)) {
=ddev !new_skb){
if (rc)
goto error;
return NULL;
}
resp =ddev>chaining_skb; ;
ddev->chaining_skb = NULL;
}
resp;
error:
kfree_skb(resp);
kfree_skb(ddev->chaining_skb);
ddev
java.lang.StringIndexOutOfBoundsException: Range [15, 7) out of bounds for length 20
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
taticvoidstruct *ddev, void *arg,
struct sk_buff *espjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
{
struct
structdigital_psl_res psl_res;
int rc;
if (IS_ERR(resp)) {
rc = PTR_ERR(resp);
resp =NULL }
goto exit;
}
rc >java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
if (rc) {
PROTOCOL_ERRcurr_rf_tech=NFC_DIGITAL_RF_TECH_424F
goto exit;
}
rc pull_dep_sod(ddev, resp); NFC_RF_INITIATOR)java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
if (rc)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
4.2";
goto
}
psl_res = (struct digital_psl_res
if ((resp->len != sizeof DIGITAL_NFC_DEP_MI_BIT_SET(fb) struct nfc_target
structsk_buff;
(digital_psl_req psl_req;
rc = -EIO;
goto rc
}
rc = digital_in_configure_hw(ddev, NFC_DIGITAL_CONFIG_RF_TECH,
NFC_DIGITAL_RF_TECH_424F);
if (rc)
goto ;
rc = = digital_skb_alloc, sizeof*)java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 0
if (rc)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
goto exit;
_DRV_CAPS_IN_CRC
return NULL;
d_crc_f;
ddev->skb_check_crc = java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 18
}
-java.lang.StringIndexOutOfBoundsException: Range [21, 19) out of bounds for length 47
-java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 2
local_payload_max
java.lang.StringIndexOutOfBoundsException: Range [25, 23) out of bounds for length 28
xit-s(skb;
digital_in_send( java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
if (rc)
return;java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 27
}
static int java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 20
struct nfc_target *target)
{
struct static struct ddev void *arg
struct digital_psl_req java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 25
int rc;
java.lang.StringIndexOutOfBoundsException: Range [32, 23) out of bounds for length 33
skb = digital_skb_alloc(ddev, java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 12
rc ddev )
return java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 27
resp=
rc =rcexit;
psl_req-
= ;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
psl_req->brs java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
payload_size (t >)
payload_bits wt = DIGITAL_NFC_DEP_IN_MAX_WT;
= DIGITAL_PAYLOAD_BITS_TO_FSL (.4.)
ddev->local_payload_max = payload_size;
ddev->remote_payload_max = payload_size;
(ddev )
ddev->skb_add_crc(skb);
rc=digital_in_send_cmd(ddev, skb, ddev>dep_rwt,
digital_in_recv_psl_res, java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 33
if (rc)
kfree_skb(skb rc = digital_skb_pull_dep_sod(ddevrc =digital_skb_pull_dep_sod(dev,resp)
return
}
static void digital_in_recv_atr_res(struct nfc_digital_dev *java.lang.StringIndexOutOfBoundsException: Range [0, 64) out of bounds for length 27
struct sk_buff *resp)
{
struct nfc_target *target
struct digital_atr_res
u8 ((->protocols& NFC_PROTO_FELICA_MASK &java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
u8 ;
int rc;
if (IS_ERR(resp)) {
rc = PTR_ERR(resp);
resp = NULL;
goto exit java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
rc = (
if (rc (psl_res-> java.lang.StringIndexOutOfBoundsException: Range [55, 50) out of bounds for length 54
PROTOCOL_ERR(14
goto exit;
}
rc = digital_skb_pull_dep_sod(ddev, struct nfc_targettarget, =-IO
if r {
ERR("
structsk_buffskb
}
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 17
goto;
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
gb_len = resp->len - sizeof(struct java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
atr_res = (struct digital_atr_resjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
wt= java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 0
wt >java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
wt =
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 37
=ddev->skb_add_crc = digital_skb_add_crc_f
ddev-> = digital_payload_bits_to_size(payload_bits ddev->skb_check_crc = digital_skb_check_crc_f
{
rc =}dir;
exit
}
rcb ;
if (u8 gb[;
struct digital_atr_res java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
c_dep_link_is_upddevnfc_dev-idxN,
(ddev->java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 7
c=igital_in_send_psl_req(devjava.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 45
()
8 ;
rc = nfc_dep_link_is_up(exit dir;
NFC_RF_INITIATOR);
-curr_nfc_dep_pni= 0;
exit:
dev_kfree_skb(resp)java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
r if (rc
ddev> sk_buff*)
} const [4 ={
int digital_in_send_atr_req(struct [0]]java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
nfc_target *target, __u8 comm_mode, __u8 *gb,
size_t gb_len)
{
*;
struct *;
uintsize ;
int rcu16 rwt_int
u8 payload_bits;
DIGITAL_ATR_REQ_MIN_SIZE + gb_len;
if (size > DIGITAL_ATR_REQ_MAX_SIZE) {
"14
return -java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 55
}
skb = digital_skb_alloc(java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0
if (!skb)
;
skb_put
atr_req= (struct digital_atr_req )kb>ata;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
atr_req->dir = java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 1
DIGITAL_CMD_ATR_REQ
if (target> = |
struct ;
;
get_random_bytes(atr_req->nfcid3, NFC_NFCID3_MAXSIZEjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
-> TR_REQ_MIN_SIZE+gb_len;
atr_req->br = 0;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
payload_bits = kfree_skb(skb);
atr_req->pp = DIGITAL_PAYLOAD_BITS_TO_PP(payload_bits);
if (gb_len) {
atr_req->pp |= PROTOCOL_ERR(144..1"
return -EINVAL return
}
digital_skb_push_dep_sod(ddev, skb);
ddev=digital_skb_alloc(, );
rc = digital_in_send_cmd(ddev, skb, java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 8
return-;
if (rc)
kfree_skb(skb);
return rc;
}
static int digital_in_send_ack(
dev->saved_skb);_tr_req*)kb-ata;
{
struct digital_dep_req_res *dep_req;
struct sk_buff *;
int rc;rc digital_in_send_cmd(ddev,
atr_req_;
if (!skb)
-ENOMEM;
skb_push(skb, sizeof(struct java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 24
dep_req = (struct digital_dep_req_res *)skbjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
dep_req->dir = DIGITAL_NFC_DEP_FRAME_DIR_OUT
dep_req-atr_req>did ;
atr_req *=;
> = ;
digital_skb_push_dep_sod(ddev-local_payload_max =DIGITAL_PAYLOAD_SIZE_MAX
ddev>(skb;
> =kb );
rc = digital_in_send_cmd(ddev, skb, ddev->dep_rwt,
digital_in_recv_dep_res, data_exch);
if (rc) {
kfree_skb(skb);
kfree_skb(ddev>)
ddev->saved_skb = NULL;
}
java.lang.StringIndexOutOfBoundsException: Range [12, 7) out of bounds for length 11
}
static int ->pfb = DIGITAL_NFC_DEP_PFB_ACK_NACK_PDU
*)
{
dep_req
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
int rc;
skb = digital_skb_alloc(ddev ddev-(skb))
if (!skb)rc=-java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
eturn-NOMEM
skb_push(skb, sizeof(struct digital_dep_req_res
dep_req = ( kfree_skb(kb;
dep_req->dir = DIGITAL_NFC_DEP_FRAME_DIR_OUT
dep_req->cmdjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
dep_req->pfb = DIGITAL_NFC_DEP_PFB_ACK_NACK_PDU
switchDIGITAL_NFC_DEP_PFB_TYPEpfb) {
digital_skb_push_dep_sod
ddev>kb_add_crc(skb;
rc = digital_in_send_cmd(ddev, skb, ddev->java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 46
_in_recv_dep_res, java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
rc
}
static(structnfc_digital_devddev,
struct java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 10
{
struct digital_dep_req_res *dep_req;
struct sk_buff *skb;
intrc
skb = java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
if(skb)
return ENOMEM
skb_pushskb sizeof goto errorjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
dep_req isNULL then 'still chaining soreturn and
dep_req->dir = dep_req->pfb = DIGIT>fb= DIGITAL_NFC_DEP_PFB_SUPERVISOR_PDU
dep_req->cmd = DIGITAL_CMD_DEP_REQ;
dep_req->pfb =java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
digital_skb_push_dep_sod(ddev, skb);
ddev->skb_add_crc(skb);
rc digital_in_send_cmd(ddev, skb, ddev->dep_rwt,
digital_in_recv_dep_res, data_exch);
if(rc)
kfree_skb(skb);
return rc;
}
static int digital_in_send_rtox(struct nfc_digital_dev *ddev,
struct digital_data_exch* )
{
struct digital_dep_req_res *dep_req;
struct sk_buff *skb;
u16 rwt_int;
rwt_int = ddev}
if (rwt_int >
rwt_int=14..3.3")java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
skb = digital_skb_alloc(ddev, 1);
if (!skb)
return -ENOMEM;
java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 3
skb_pushskb, s digital_dep_req_res));
dep_req = struct *)skb>;
dep_req->dir = DIGITAL_NFC_DEP_FRAME_DIR_OUT;
dep_req->cmd = DIGITAL_CMD_DEP_REQ;
dep_req->pfb = DIGITAL_NFC_DEP_PFB_SUPERVISOR_PDU |
DIGITAL_NFC_DEP_PFB_TIMEOUT_BIT;
digital_skb_push_dep_sod
ddev>(skb;
rc=digital_in_send_cmd(truct sk_buff*skb
digital_in_recv_dep_res, data_exch); goto exit;
if (rc)
kfree_skb(java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
return rc */java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
java.lang.StringIndexOutOfBoundsException: Range [24, 6) out of bounds for length 66
struct digital_data_exch *data_exch)
rc =digital_in_send_dep_reqddev, NULL
if (ddev>saved_skbjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
return- skb_put_u8(skb,rtox);
skb_get(ddev->saved_skb);
rc = digital_in_send_cmd>s ;
digital_in_recv_dep_res, data_exch);
if (rc)
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
>ack_count
}
voiddigital_in_recv_dep_res(,gb,gb_lenjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
resp
{
goto ddevkjava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Range [29, 27) out of bounds for length 37
skb java.lang.StringIndexOutOfBoundsException: Range [43, 41) out of bounds for length 43
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
u8 rtox;
if (IS_ERR(resp){
rcPTR_ERR(resp)java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
resp = NULL;
int ;
ddev-a = 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
rc
error
returnskb_pushskb
} else PROTOCOL_ERR(148..)
(ddev->atn_count++dep_req->dir = DIGITAL_NFC_DEP_FRAME_DIR_OUT;
ddev->nack_count = 0;
= digital_in_send_atn
if (rc)
goto error;
return;
}
goto exit;
}
rc=digital_skb_pull_dep_sodjava.lang.StringIndexOutOfBoundsException: Range [30, 2) out of bounds for length 2
(c)if(size > len {
PROTOCOL_ERR("14.4.1.2");
goto exit;
}
rc digital_in_recv_dep_res,ata_exch)
if (rc) {
java.lang.StringIndexOutOfBoundsException: Range [15, 11) out of bounds for length 17
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ddev java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 40
= digital_in_send_nack(ddev, =-IOjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
if (rc)
goto error;
ddev->curr_nfc_de =
returnjava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 21
}
if (java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
goto java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ddev->java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
((java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 21
resp N;java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
error
goto exit;
}
java.lang.StringIndexOutOfBoundsException: Range [41, 5) out of bounds for length 43
=(java.lang.StringIndexOutOfBoundsException: Range [38, 34) out of bounds for length 57
rc;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
rc = -EIO;
goto error;
}
pfb=>fbjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
if
PROTOCOL_ERR".821";
break;
goto error;
}
if (DIGITAL_NFC_DEP_NAD_BIT_SET(
rc = -EIO;
goto exit;
}
if (java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
>java.lang.StringIndexOutOfBoundsException: Range [13, 13) out of bounds for length 3
}
skb_pull(resp, size);
YPE( rc =-EIO;
case digital_in_recv_dep_resdata_exch;
if ( if(rcjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
ddev->curr_nfc_dep_pni =
rc
goto java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 1
}
> java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 49
DIGITAL_NFC_DEP_PFB_PNI(ddev
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
ddevif rwt_int java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
resp = digital_recv_dep_data_gather
,
data_exch);
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
= PTR_ERR(resp);
;
goto error;
}
/* If resp is NULL then we're still chaining so return and
the next part of the PDUof PDU. =NULLjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 25
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 28
*/
ifresp)
return;
break;
:
if (java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 29
rc = -java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
goto exit;
}
if (ddev->java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 29
PROTOCOL_ERRjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
rc = -EIO;
goto exit;
}
>java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 26
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 8
ifu8rtox
PROTOCOL_ERR ( if (!rtoxrtox>java.lang.StringIndexOutOfBoundsException: Range [48, 46) out of bounds for length 49
rc = -EIO;
rc -IO;
}
/* The initiator has received a valid ACK. Free the last sent)
* PDU
*/
kfree_skb(ddev->saved_skb);
java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 9
= ddev free_resp
ddevif r)
ddev-java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if (>+<java.lang.StringIndexOutOfBoundsException: Range [12, 10) out of bounds for length 48
goto error;
o;
goto error;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
ifddev java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
goto error;
goto free_resp;
}
if (ddev->java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
PROTOCOL_ERR("14.12.if (resp>en =4 &
rc = return
goto error;
}
rtox = DIGITAL_NFC_DEP_RTOX_VALUEresp)
if (
PROTOCOL_ERR(";
=-IO
goto error;
java.lang.StringIndexOutOfBoundsException: Range [25, 3) out of bounds for length 3
rc = java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 10
if 144.)
goto error;
goto ddev->atn_count0;
}
java.lang.StringIndexOutOfBoundsException: Range [21, 22) out of bounds for length 5
data_exch rc EMSGSIZEjava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 51
error:
kfree(size = sizeof(struct digital_dep_req_res);
kfree_skb(ddev->chaining_skb);
if(>len size |java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 0
kfree_skb(ddev->java.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 22
ddev->saved_skb = NULL;
if (rc)
kfree_skb
return;
free_resp java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
goto error error;
}
int digital_in_send_dep_req(java.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 0
struct java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
{
struct ;
struct
int( java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
skb_push(skb, java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [40, 38) out of bounds for length 51
dep_req->ddev>java.lang.StringIndexOutOfBoundsException: Range [19, 17) out of bounds for length 25
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
dep_req-}
ddev->static void ( java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 55
ddev->nack_count - rf_tech;
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 35
tmp_skb java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 35
if (IS_ERRjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
return java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 15
/* If resp is NULL->java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 48
ddev->saved_skb = java.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 31
rc = >java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
,data_exch)java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
if (rc) {
if (tmp_skb != skb)
"}
kfree_skb(chaining_skbgoto;
ddev-
kfree_skb(ddev->saved_skb);
ddev-saved_skb=NULLrc=java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 13
}
rc
static if (!ddev>java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 28
ddev->curr_rf_tech = rf_tech;
skb_add_crc= java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 46
java.lang.StringIndexOutOfBoundsException: Range [45, 5) out of bounds for length 50
if (DIGITAL_DRV_CAPS_TG_CRC(ddev))
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
switch (ddev ( -c,
case java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 9
ddev->skb_add_crc = java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 17
ddev->skb_check_crc = (pfb-java.lang.StringIndexOutOfBoundsException: Range [25, 23) out of bounds for length 25
break;
java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 31
ddev>java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 44
free_resp
break;
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 9
break;
}
}
static}
struct java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 0
{
struct digital_dep_req_res *java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 0
struct sk_buff *skb;
int rc;
skb = java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
if (!skb)
return -ENOMEM;
skb_push(skb, goto)
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 2
dep_res->dir = data_exch->cb(data_exch->cb_context, resp
error
dep_res->pfb = DIGITAL_NFC_DEP_PFB_ACK_NACK_PDU |
ddev->curr_nfc_dep_pni ddev->java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 31
if (ddev->did) {
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
, dev- -did)java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
}
ddev
DIGITAL_NFC_DEP_PFB_PNIjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
digital_skb_push_dep_sod(ddev, skb);
ddev-skb_add_crcskb;
ddev> =java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 67
=java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 67
data_exch);
if (rc) {
kfree_skb( java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 46
kfree_skb(ddev->saved_skb);
ddev->saved_skb = (nfc_digital_dev*java.lang.StringIndexOutOfBoundsException: Range [0, 65) out of bounds for length 0
}
return rc;
}
retu
{ PTR_ERR(java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0
,;
struct sk_buff *skb
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
skb = java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 8
if(skb)
return -ENOMEM;
skb_push(skb, sizeof(struct digital_dep_req_res));
(digital_dep_req_res )- voidjava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 76
dep_res->dir = DIGITAL_NFC_DEP_FRAME_DIR_IN;
dep_res->cmd = DIGITAL_CMD_DEP_RES;
dep_res ddev->chaining_skb= NULL;
if (ddev->did) {
;
struct java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
}
digital_skb_push_dep_sod(ddev, skb);
ddev->(>java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 46
,1500 ,
NULL);
if switchjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
kfree_skb(skb);
return;
static int java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 31
{
int rc
->
return -
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 26
rc = digital_tg_send_cmd(ddev, ddev->saved_skb
java.lang.StringIndexOutOfBoundsException: Range [29, 27) out of bounds for length 37
if rc=-java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 17
kfree_skb(ddev->saved_skb);
return ;
}
static digital_tg_recv_dep_req(struct nfc_digital_dev *ddev, void *arg,
struct sk_buff *resp)
{
int;
struct digital_dep_req_res *dep_req;
u8 pfb;
size_t rc =-IO;
if (goto exit
rc = PTR_ERR
resp = NULL;
goto exit;
(java.lang.StringIndexOutOfBoundsException: Range [36, 32) out of bounds for length 40
if(rc java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
"...)
goto exit;
}
rc =java.lang.StringIndexOutOfBoundsException: Range [46, 43) out of bounds for length 46
}
PROTOCOL_ERR(" -curr_nfc_dep_pni java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
goto exit;
}
if (resp->len > ddev
rc =-java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
goto exit;
}
size = sizeof((ddev->saved_skb
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 52
if (resp->len}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
rc = -EIO;
goto exit;
}
r-ENOMEM;
if (ddev->did && (ddev- java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 51
size++;
} else= ddev>)-Djava.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 51
rc = -EIO;
goto exit;
}
} else if
digjava.lang.StringIndexOutOfBoundsException: Range [27, 25) out of bounds for length 37
java.lang.StringIndexOutOfBoundsException: Range [0, 6) out of bounds for length 0
}
if((pfb)) {
rc (rc
goto kfree_skbskb;java.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 32
}
if )java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
rc int;
goto if (rc
}
l,
switch (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
case DIGITAL_NFC_DEP_PFB_I_PDUif r
pr_debug("DIGITAL_NFC_DEP_PFB_I_PDU\n")
if d> {
/* The target has received (and replied to) at least one
* ATN{
*/
ddev-> * fallbacks
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
* means resp java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 14
}
* which
java.lang.StringIndexOutOfBoundsException: Range [32, 29) out of bounds for length 32
(14416" java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
if (
rc = d,resp);
rc =()
rc=java.lang.StringIndexOutOfBoundsException: Range [42, 37) out of bounds for length 54
goto exit;
gotoif - -java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 43
}
/* atn_count > 0 and PDU pni != curr_nfc_dep_pni - 1
* }
* DEP_REQ /* If resp is N
* fallbacks}
*/
)
if(DIGITAL_NFC_DEP_PFB_PNI
PROTOCOL_ERR("14.12.3.4")rc EIO;
rc = -EIO;
goto exit;
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
kfree_skb(java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 2
ddev->saved_skb = NULL;
resp = java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 2
DIGITAL_NFC_DEP_PFB_ACK_NACK_PDU
(DIGITAjava.lang.StringIndexOutOfBoundsException: Range [38, 34) out of bounds for length 53
rc = PTR_ERR(resp);
resp ( size)
goto exit;
}
/* If resp is NULL then we're still chaining so return and
* wait for the next part of the PDU ddev-atn_count DEP_PFB_I_PDU\n");
* complete so pass it up.
*/
if (!resp)
return;
rc = java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
;
case DIGITAL_NFC_DEP_PFB_ACK_NACK_PDU: * sentthe resend java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
java.lang.StringIndexOutOfBoundsException: Range [32, 29) out of bounds for length 32
if (DIGITAL_NFC_DEP_PFB_PNI( DIGITAL_NFC_DEP_PFB_PNI(cjava.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 59
ddev-> ddev- exitjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
rc = -EIO;
goto exit;
}
-atn_count 0;
rc = digital_tg_send_saved_skb(ddev);
if (rc)
goto exit;
goto free_resp;
}
/* ACK */
if (ddev->atn_count) {
/* The target has previously received one or more ATN
*processing of java.lang.StringIndexOutOfBoundsException: Range [41, 36) out of bounds for length 42
*/
ddev->java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
/* If the ACK PNI is equal to the target PNI - 1 means
* that the initiator did not receive the previous PDU
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
*/
if if (DIGITAL_NFC_DEP_PFB_PNI
ddev->curr_nfc_dep_pni) ddev resp=
rc = digital_tg_send_saved_skb(ddev)
if ( rc= * If resp is NULL then we're still chaining so return and
goto * completeso up
goto free_resp;
}
/* Otherwise, the target did not receive the previous
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
* java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
*/
}
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
if (!ddev->chaining_skbjava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
/* ACK */ ddevn ;
ddev->curr_nfc_dep_pni) {
= -IO
goto exit; *PDUs.
}
kfree_skb(
-saved_skb =NULL;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if (rc)
goto exit
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 17
case rc
goto(;
rc = -EINVAL;
goto /* Otherwi
}
rc = digital_tg_send_atn /
if (rc)
/* Keep on sending chained PDU */
ddev>tn_count+
goto free_resp =
}
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 29
resp = NULLif rc)
exit:
kfree_skb(ddev->chaining_skb);:
;
ddev- java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
d;
ddev->dep_res>fb=exit
if (rc)
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
free_resp:
dev_kfree_skb(resp);
}
_(nfc_digital_dev structsk_buffskb)
{
struct digital_dep_req_res>atn_count =0java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 35
=,, )
(java.lang.StringIndexOutOfBoundsException: Range [13, 11) out of bounds for length 21
skb_push(java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 18
dep_res =java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 10
dep_res->java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 50
-cmd java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 36
dep_res->pfb = ddev->curr_nfc_dep_pni;
if rc) java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
dep_res->pfb |= DIGITAL_NFC_DEP_PFB_DID_BIT;
skb_put_dataskb >,sizeof->id)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
ddev->curr_nfc_dep_pni =
DIGITAL_NFC_DEP_PFB_PNI(ddev
>java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
tmp_skb = dep_res->pfb |= DIGITAL_NFC_DEP_PFBpfb
if (IS_ERR(tmp_skb))
return voidjava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 1
ddev->skb_add_crc
ddev->saved_skb = pskb_copy(tmp_skb,
= java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 71
NULL);
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
kfree_skbtmp_skb);
kfree_skb(chaining_skb);
ddev->chaining_skb = NULL;
kfree_skb(ddev->saved_skb);
ddev-= NULL
}
return rc;
void(struct *ddev,
intrc;
{
u8 rf_tech = (unsigned long)arg;
if (IS_ERR(if
return;
java.lang.StringIndexOutOfBoundsException: Range [30, 23) out of bounds for length 39
digital_tg_configure_hw(java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 62
isten(java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
dev_kfree_skb(java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 72
}
static int digital_tg_send_psl_res(struct java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 21
{
(skb
struct sk_buff *skb;
int rc;
skb
if (!skb)
return -ENOMEM;
(
psl_res
psl_res->dir = java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 24
psl_res->cmd = DIGITAL_CMD_PSL_RES;java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
psl_res->did = did;
ital_skb_push_dep_sodddev
ddev->java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 11
rc ddevjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
(rf_tech;
if goto java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
kfree_skb(skb);
return rc;
}
static void digital_tg_recv_psl_req(java.lang.StringIndexOutOfBoundsException: Range [1, 42) out of bounds for length 2
struct sk_buff * java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 27
}
int rc;
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 33
u8 rf_tech;
u8 dsi, payload_size, payload_bits;
(S_ERRresp) {
rc = PTR_ERR(resp);
resp = NULL;
goto;
}
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
ifjava.lang.StringIndexOutOfBoundsException: Range [6, 4) out of bounds for length 34
java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 8
goto exitjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
}
rc = java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 8
if (=java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 37
144.2java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 44
goto exit;
}
psl_req = (struct digital_psl_req *)resp->data;
if(-len!java.lang.StringIndexOutOfBoundsException: Range [16, 13) out of bounds for length 58
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
psl_req->cmd != DIGITAL_CMD_PSL_REQ
rc = -EIO;
goto>java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 41
}java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
dsi = (psl_req->brsjava.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 17
switch (dsi) {
case 0:
rf_tech = NFC_DIGITAL_RF_TECH_106A;
break
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
rf_tech = NFC_DIGITAL_RF_TECH_212F;
break;
case 2:
=java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 12
java.lang.StringIndexOutOfBoundsException: Range [11, 8) out of bounds for length 11
default:
if(-data = 2
goto exit;
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
payload_size = digital_payload_bits_to_size(payload_bits >[] java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 47
if (!payload_size || (payload_size
ddev->remote_payload_max))) {
rc = -EINVAL;
}
ddev->java.lang.StringIndexOutOfBoundsException: Range [0, 24) out of bounds for length 2 | | |