GlobalPlatform / WebApis-for-SE

Open source Apis to access a Secure Element from a Web application
Apache License 2.0
18 stars 5 forks source link

Length of expected response data #50

Closed hchavers closed 8 years ago

hchavers commented 8 years ago

Comments from Trusted Computing Group - Item # 31

Section: 13.1 Attributes

Comment: Re: “The length of the expected response data or -1 if application does not require a specific length”

Proposed Resolution: Is this a buffer overflow by design?

serianox commented 8 years ago

A little bit non-idiomatic for JavaScript.

Maybe replace it with the following.

The length of the expected response data or undefined if application does not require a specific length