Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for invalid length GetVarStr #401

Merged
merged 2 commits into from
May 23, 2024
Merged

Conversation

EricvanderVelde
Copy link
Contributor

6   2 255 126998 Configuration Information:  18 01 44 43 20 44 69 73 74 72 69 62 75 74 69 6F 0E 20 4D 6F 64 75 6C 65 02 01 00 01 54 72 69 67 65 6E 74 69 63 20 41 42
                                                                                                                           ^^
6   2 255 126998 Configuration Information:   .  .  D  C  .  D  i  s  t  r  i  b  u  t  i  o  .  .  M  o  d  u  l  e  .  .  .  .  T  r  i  g  e  n  t  i  c  .  A  B
[analyzer] field 'Manufacturer Information': Invalid string length 0 in STRING_LAU field

The message above contains an error at '^^' (length location).

@ttlappalainen
Copy link
Owner

You should fix it to if ( Len <2 )

@ttlappalainen ttlappalainen merged commit 697e3de into ttlappalainen:master May 23, 2024
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.

2 participants