Closed Bug 504500 Opened 15 years ago Closed 15 years ago

EmbedPrompter::Create touches mButtonLabels[EMBED_MAX_BUTTONS]

Categories

(Core Graveyard :: Embedding: GTK Widget, defect)

x86
Maemo
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: timeless, Assigned: timeless)

References

()

Details

(Keywords: coverity)

Attachments

(1 file)

embedding/browser/gtk/src/EmbedPrompter.h
44  #define EMBED_MAX_BUTTONS 3 
99      nsCString mButtonLabels[EMBED_MAX_BUTTONS]; 
embedding/browser/gtk/src/EmbedPrompter.cpp
230         for (int i = EMBED_MAX_BUTTONS; i >= 0; --i) { 
231             if (!mButtonLabels[i].IsEmpty())
232                 gtk_dialog_add_button(GTK_DIALOG(mWindow),
233                                       mButtonLabels[i].get(), i);
Attached patch patchSplinter Review
Attachment #388866 - Flags: review?(roc)
http://hg.mozilla.org/mozilla-central/rev/a51fc3f810c6
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: