align to width and height -1 to prevent SSEGV accessing out of range buffer - #13005
Conversation
…index on frame buffer
|
Can one of the admins verify this patch? |
|
@acasalboni thanks for the PR. |
|
When acquiring frames from depth camera and invoking method com.intel.realsense.librealsense.Utils.project2dPixelToDepthPixel, using some camera pieces the application crashes because of a SSEGV error. Here is the stack trace of the error: #00 pc 00000000007eb34c /system/app/ARFlexibilityTest/ARFlexibilityTest.apk!librealsense2.so (rs2_project_color_pixel_to_depth_pixel+776) (BuildId: 07aa2742a238c6a7d2d769e5046ed2ff5e5a6bd0) |
align to width and height -1 to prevent SSEGV accessing out of range index on frame buffer