Overview
| Artifact ID: | ea7aa111d02cd89d4fc18cb3e97b7bd0d85e2981 |
|---|---|
| Ticket: | 219201ffffffffffffffffffffffffffffffffff
string compare \x00 \x20 incorrectly returns 1 |
| User & Date: | nobody on 2000-10-26 05:03:29 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 3103 Bug Version: 8.2 SubmitDate: '1999-10-15' LastModified: '1999-10-15' Severity: SER Status: Assigned Submitter: hobbs ChangedBy: hobbs OS: All FixedDate: '2000-10-25' ClosedDate: '2000-10-25' Exists since 8.1a1. The problem is the memcmp case, which doesn't take into account that the NULL byte is 2 \x80's. There is a work-around: string compare -length 1 \x00 \x20 - foundin changed to: "obsolete: 8.2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "57. zlib"
- title changed to: "string compare \x00 \x20 incorrectly returns 1"
- type changed to: "Bug"