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

msgpack-ruby creates messages that crash msgpack-js #15

Open
doughsay opened this issue May 29, 2015 · 0 comments
Open

msgpack-ruby creates messages that crash msgpack-js #15

doughsay opened this issue May 29, 2015 · 0 comments

Comments

@doughsay
Copy link

Check here: msgpack/msgpack-ruby#66

Creating a msg with a | (pipe) character in it from ruby crashes msgpack-js with this error:

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: -590689048 trailing bytes
  at Object.decode (/var/www/pigeon/node_modules/socket.io-redis/node_modules/msgpack-js/msgpack.js:201:47)
  at Redis.onmessage (/var/www/pigeon/node_modules/socket.io-redis/index.js:94:24)
  at RedisClient.emit (events.js:106:17)
  at RedisClient.return_reply (/var/www/pigeon/node_modules/redis/index.js:696:22)
  at HiredisReplyParser.<anonymous> (/var/www/pigeon/node_modules/redis/index.js:321:14)
  at HiredisReplyParser.emit (events.js:95:17)
  at HiredisReplyParser.execute (/var/www/pigeon/node_modules/redis/lib/parser/hiredis.js:43:18)
  at RedisClient.on_data (/var/www/pigeon/node_modules/redis/index.js:547:27)
  at Socket.<anonymous> (/var/www/pigeon/node_modules/redis/index.js:102:14)
  at Socket.emit (events.js:95:17)
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