question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug with offsets/length for description in custom tags (and possibly its data)

See original GitHub issue

This bug is probably related to what others have already reported, but I wanted to give an additional example. The offsets to where description resides seem to be calculated wrongly or using wrong encoding (?).

For example, a hex dump of a MP3 file containing custom Serato (a DJ software) ID3 frames - a small hex dump sample:

tagsbug

However, when parsed all of these ends up mangled for description etc. It’s not consistent either so I guess the offset/length is read from the wrong position - but this is just an initial guess.

The output ends up something like this:

[
  { id: 'TXXX:SERATO_PLAYCOUNT', value: '1' },
  {
    id: 'GEOB',
    value: {
      type: 'application/octet-stream',
      filename: '',
      description: 'erato Overview',    // Should be "Serato Overview", skipping 1 char
      data: <Buffer 65 72 61 74 6f ...  ---8X--- cut for brev.
    }
  },
  {
    id: 'GEOB',
    value: {
      type: 'application/octet-stream',
      filename: '',
      description: '',         // should have been "Serato Analysis", none...
      data: <Buffer 65 72 61 74 ...  ---8X--- cut for brev.
    }
  },
  {
    id: 'GEOB',
    value: {
      type: 'application/octet-stream',
      filename: '',
      description: 'erato Au',   //  "Serato Autotags", skipping one, length wrong
      data: <Buffer 65 72 61 74 ...   ---8X--- cut for brev.
    }
  },
  {
    id: 'GEOB',
    value: {
      type: 'application/octet-stream',
      filename: '',
      description: 'erato Markers_',   // "Serato Markers_", skipping one
      ...   ---8X--- etc.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Jan 12, 2020

Thank you @Borewit for looking into this and fixing it so quickly!

0reactions
Borewitcommented, Jan 12, 2020

Fixed in v6.1.2, thanks again for your detailed analysis.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Question] Tags and custom fields can be seen across ...
Problem Description. Users in other organisations can see custom fields and tags that have been used across organisations other than their ...
Read more >
Staff Observations of Custom Tag Rates - SEC.gov
One aspect of the assessment, reported below, focused on the use of custom tags to describe elements in the financial statements.
Read more >
Customfield description show <p> tag in bulk edit - detail screen
I am experiencing the same issue of <p> and </p> tags appearing in a custom field's description in all places it is shown....
Read more >
Create a Custom Tag in Revit - Autodesk Knowledge Network
Is it possible to create a custom tag that shares the same parameters as a custom Revit family?
Read more >
Custom tags with Doxygen - Stack Overflow
And then have Doxygen create a list like it does for \bug and \todo commands for lines that have this custom tag. Is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found