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

Empty object property values #14

Open
grippy opened this issue Feb 14, 2011 · 0 comments
Open

Empty object property values #14

grippy opened this issue Feb 14, 2011 · 0 comments

Comments

@grippy
Copy link

grippy commented Feb 14, 2011

In the process of migrating an app from 2.0x version of redis-node to use v0.4.0. I've noticed an error in how hash dictionaries load.

Passing an empty string on key/value returns this error:

{
events: '',
created_at: 1297652538454
}

node.js:116
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Offset is out of bounds
at Socket._writeImpl (net.js:138:14)
at Socket._writeOut (net.js:427:25)
at Socket.flush (net.js:506:24)
at Socket._onWritable (net.js:584:12)
at Socket._onConnect (net.js:572:12)
at IOWatcher.onWritable as callback

This previously worked with node v0.2.5 and redis-node which was targeted at 0.2.x.

Have you seen this before?

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

1 participant