Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 313 by [email protected]: Invalid edge-case behavior: Large 32-bit flags
http://code.google.com/p/memcached/issues/detail?id=313

What steps will reproduce the problem?
1. Compile and run the latest memcached from the git repository.
2. Telnet into localhost 11211
3. Use the following query, which has a flags value that is 1 too large:
set he 4294967296 50 2
lo
get he
4. Memcached returns the following:
STORED
VALUE he 0 2
lo
END
5. Now try a flags value that is the largest possible value:
set he 4294967295 50 2
yo
get he
6. Memcached returns the following:
STORED
VALUE he -1 2
yo
END

What is the expected output? What do you see instead?
The expected output is CLIENT_ERROR in the first case, and the following in the second:
STORED
VALUE he 4294967295 2
yo
END

What version of the product are you using? On what operating system?
I'm using the latest version from the github repository on Linux Mint XFCE.

Please provide any additional information below.
I think that should be enough information to reproduce. Let me know if you have any questions.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to