Closed Bug 336105 Opened 20 years ago Closed 7 years ago

Missing out-of-memory check at widget/src/gtk2/nsPrintdGTK.c

Categories

(Core :: Widget: Gtk, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: vda, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060320 Firefox/1.5 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060320 Firefox/1.5 fs = gtk_file_selection_new("File Browser"); gtk_file_selection_set_filename( GTK_FILE_SELECTION(fs), prOps->prData->path ); gtk_window_set_modal (GTK_WINDOW(fs),PR_TRUE); Entire nsPrintdGTK.c seems to lack OOM checking in general. Reproducible: Always
Component: General → GFX: Gtk
Product: Firefox → Core
QA Contact: general → gtk
Version: unspecified → Trunk
gfx/src/gtk/ has been removed on trunk. I'm guessing widget/src/gtk2/nsPrintdGTK.c suffers the same problem?
Component: GFX: Gtk → Widget: Gtk
QA Contact: gtk → gtk
Summary: Missing out-of-memory check at gfx/src/gtk/nsPrintdGTK.c:179 → Missing out-of-memory check at widget/src/gtk2/nsPrintdGTK.c
Closing GTK2 related bugs since we removed GTK2 support at the beginning of 2018 in bug 1278282. Probably best to open a new bug in the unlikely event that any of these are still relevant.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.