| Summary: | reinterpret_cast of 0xffffffff to pointer does not generate invalid pointer | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Cesar Eduardo Barros <cesarb> |
| Component: | Libreoffice | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | NEW --- | QA Contact: | |
| Severity: | minor | ||
| Priority: | medium | CC: | noelgrandin, qubit, serval2412 |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | needAdvice | ||
| i915 platform: | i915 features: | ||
|
Description
Cesar Eduardo Barros
2014-11-21 22:56:00 UTC
Noel: thought you might be interested in this one (see http://cgit.freedesktop.org/libreoffice/core/commit/?id=26f2da07b1c6074e519d28557a3d1d5518ff6cb4) (In reply to Cesar Eduardo Barros from comment #0) > on 64-bit it points to within > usable address space, which might have been allocated by the platform. > > What probably prevents this from causing any bug is that 0xffffffff is > unaligned, and any sane allocator is going to return an aligned address, so > that flag value cannot by accident match a valid object. But even then, it's > sloppy. Sounds like a reasonable concern, so I'll change Status -> NEW. |
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.