Skip to content

Conversation

carlosms
Copy link
Contributor

Fix #288.

Because we try to unmarshal any string to see if it's UAST, we can get to a situation where nodeLen is negative, which breaks the buffer offset in buf.Next.

Signed-off-by: Carlos Martín <carlos.martin.sanchez@gmail.com>
@carlosms carlosms merged commit 9b3f77a into src-d:master Nov 23, 2018
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