Page MenuHomePhabricator

Make ToFProcessing memory safe
Closed, WontfixPublic

Description

There are some warnings like

MITK/Modules/ToFProcessing/mitkToFCompositeFilter.cpp:244: warning: cast from 'char *' to 'float *' increases required alignment from 1 to 4 [-Wcast-align]

This is probably not dangerous, but it should be fixed at some point, either by copying data (see attached patch from my first try) or by using another OpenCV structure

Event Timeline

The patch:

kislinsk added a project: Auto-closed.
kislinsk added a subscriber: kislinsk.

Hi there! ๐Ÿ™‚

This task was auto-closed according to our Task Lifecycle Management.
Please follow this link for more information and don't forget that you are encouraged to reasonable re-open tasks to revive them. ๐Ÿš‘

Best wishes,
The MITK devs