| Summary: | dict_unserialize crash if undersized buffers passed | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Joe Julian <joej> |
| Component: | core | Assignee: | shishir gowda <sgowda> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 3.0.2 | CC: | amarts, chida, gluster-bugs, joe, nsathyan, rabhat |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Joe Julian
2010-06-25 17:50:23 UTC
dict_unserialize does return a error (-1) when a undersized buffer is passed. And there is a disconnection error msg logged: [2010-06-23 21:41:20] N [server-protocol.c:6748:notify] server: 10.0.0.166:1005 disconnected Closing this bug, and will track it if found in newer versions. As for the typo in the log msg, I will fix it as part of another fix. Fixed logmsg typo as part of fix in 269 Regards, Shishir *** Bug 1158 has been marked as a duplicate of this bug. *** PATCH: http://patches.gluster.com/patch/3994 in master (Fix for seg fault in dict_unserialize if undersized buffers are passed) PATCH: http://patches.gluster.com/patch/3992 in release-3.0 (Fix for seg fault in dict_unserialize if undersized buffers are passed) |