Bug 44866 - Strings returned by asciiDebug() should be NULL-terminated.
Summary: Strings returned by asciiDebug() should be NULL-terminated.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Andy Estes
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-30 04:24 PDT by Andy Estes
Modified: 2010-08-30 12:27 PDT (History)
1 user (show)

See Also:


Attachments
Patch (1.18 KB, patch)
2010-08-30 04:28 PDT, Andy Estes
eric.carlson: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Estes 2010-08-30 04:24:43 PDT
Strings returned by asciiDebug() should be NULL-terminated.
Comment 1 Andy Estes 2010-08-30 04:28:02 PDT
Created attachment 65906 [details]
Patch
Comment 2 Brian Weinstein 2010-08-30 10:50:34 PDT
Is our style to have a space to make it "length + 1"? The style bot didn't notice any issues, but I wasn't sure.
Comment 3 Andy Estes 2010-08-30 12:10:43 PDT
Brian, I think you're right. I'll fix that before landing.
Comment 4 Andy Estes 2010-08-30 12:27:54 PDT
Committed r66401: <http://trac.webkit.org/changeset/66401>