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

I got attempt to get length of local 'buf' (a nil value) #38

Open
ankurupadhyay123 opened this issue May 3, 2020 · 1 comment
Open

Comments

@ankurupadhyay123
Copy link

/usr/local/share/lua/5.1/vstruct/io/u.lua:15: attempt to get length of local 'buf' (a nil value)
i solved this by adding a nil check of size in c.lua file in this (function c.read(fd, _, size))

@ToxicFrog
Copy link
Owner

Can you post the code that produces this error?

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

No branches or pull requests

2 participants