Closed Bug 1398907 Opened 7 years ago Closed 7 years ago

Handler registration appends extra null characters to registry value

Categories

(Core :: Disability Access APIs, enhancement)

Unspecified
Windows
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: bugzilla, Assigned: bugzilla)

Details

Attachments

(1 file)

I am not sure if this is a problem or not in practice, but it might be. It's a waste of space regardless.
Comment on attachment 8906736 [details] [diff] [review]
Relace size of buffer with size of string

Review of attachment 8906736 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good.
Attachment #8906736 - Flags: review?(eitan) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/33a2372e73997ce75a3d67c2a208e599295828f8
Bug 1398907: Handler path should be written using length of null-terminated string in bytes, not size of the buffer; r=eeejay
https://hg.mozilla.org/mozilla-central/rev/33a2372e7399
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.