Skip to content

Bugfix for bug in CardType parsing of apduscr files#6

Open
PanikaYadra wants to merge 1 commit into
SpenserCai:mainfrom
PanikaYadra:bugfix
Open

Bugfix for bug in CardType parsing of apduscr files#6
PanikaYadra wants to merge 1 commit into
SpenserCai:mainfrom
PanikaYadra:bugfix

Conversation

@PanikaYadra

Copy link
Copy Markdown

The CardType specified in .apduscr files was not parsed correctly due to some trailing characters, causing the app to not work.

I changed the comparison method from strcmp to strncmp with fixed comparison length, so any trailing characters after the type are ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant