Summary: | [patch] add OOM check to main.c | ||
---|---|---|---|
Product: | dbus | Reporter: | Kimmo Hämäläinen <kimmo.hamalainen> |
Component: | core | Assignee: | Havoc Pennington <hp> |
Status: | RESOLVED FIXED | QA Contact: | John (J5) Palmieri <johnp> |
Severity: | normal | ||
Priority: | medium | CC: | walters |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | proposed patch |
Description
Kimmo Hämäläinen
2007-10-26 02:31:56 UTC
Created attachment 12210 [details] [review] proposed patch Rather than exit(1), should probably either just warn and return (like the other failure below it) or do a bus_wait_for_memory thing (In reply to comment #2) > Rather than exit(1), should probably either just warn and return (like the > other failure below it) or do a bus_wait_for_memory thing All the failure code in the function do exit(1) -- should I change those to "return FALSE" as well? I've pushed a version of this patch which uses _dbus_wait_for_memory(). |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.