Summary: | Context::set_dash throws "vector subscript out of range" on VS2008 | ||
---|---|---|---|
Product: | cairomm | Reporter: | Robert Kurjata <rkurjata> |
Component: | General | Assignee: | Murray Cumming <murrayc> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | Windows (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Robert Kurjata
2011-04-06 01:16:04 UTC
Sorry for the very late reply. You are quite right. We should be checking these vectors before derefencing them. I have done that in that method and a few others: http://cgit.freedesktop.org/cairomm/commit/?id=798a292d2ec0c05e6ccf9108c6a973651a3ddcfe The functions are not explicitly documented as accepting NULL for these parameters, but it seems like it should be OK, as long as the size is 0. Thanks. |
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.