embear-engineering / drm-framebuffer

A simple application which can be used to test a Linux DRM device
GNU General Public License v3.0
55 stars 21 forks source link

Do not use uninitialized data. Fixes crash. (issue #2) #3

Closed stolk closed 1 year ago

stolk commented 1 year ago

Uninitialized data on the stack is used, causing a crash. This will fix it by making sure fb members are 0. This fixes #2 issue.

eichenberger commented 1 year ago

Thanks a lot for the fix!