Bug 83426 - [libvgl] [patch] improper handling of malloc failures within libvgl
Summary: [libvgl] [patch] improper handling of malloc failures within libvgl
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 5.4-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2005-07-14 02:20 UTC by Dan Lukes
Modified: 2017-08-27 01:21 UTC (History)
1 user (show)

See Also:

patch (943 bytes, patch)
2005-07-14 02:20 UTC, Dan Lukes
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Lukes 2005-07-14 02:20:11 UTC
1. The failure of malloc() within VGLTextSetFontFile isn't handled properly.
2. When counting pos from 0 to strlen() then pos should be size_t - it's
more portable.