Tribler / software-based-PUF

The first open source software-based Physically Unclonable Function (PUF) using off-the-shelf SRAM
GNU General Public License v3.0
89 stars 25 forks source link

fix buffer overrun #10

Closed myndcryme closed 1 year ago

myndcryme commented 1 year ago

memset count parameter is incorrect and creates a buffer overrun. The array helper_data_new (size is 259) is memset with a count value of 296 (the size of the puf_binary_new array).