Closed Bug 1461306 Opened 7 years ago Closed 7 years ago

[Wayland] Wrong arom array size calculation

Categories

(Core :: Widget: Gtk, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla62
Tracking Status
firefox62 --- fixed

People

(Reporter: stransky, Assigned: stransky)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The i < sizeof(sTextMimeTypes); at nsRetrievalContextWayland::GetClipboardText() is wrong as sizeof() does not return number of elements here.
Comment on attachment 8975453 [details] Bug 1461306 - [Wayland] Don't use sizeof() to get mime type array size, https://reviewboard.mozilla.org/r/243750/#review249896
Attachment #8975453 - Flags: review?(jhorak) → review+
Pushed by stransky@redhat.com: https://hg.mozilla.org/integration/autoland/rev/6495ae9d01e0 [Wayland] Don't use sizeof() to get mime type array size, r=jhorak
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: