PCB-Arts / vaporphaseX

Firmware source code for Vapor Phase One soldering system by PCB Arts
https://pcb-arts.com/en/vapor_phase_one
GNU General Public License v3.0
64 stars 9 forks source link

Bugfix: memoryleak of IsSolderprofileCSV() and loadSolderCsv() fixed #6

Closed niaraki closed 1 year ago

niaraki commented 1 year ago

Hi, I hope you're doing well. I've solved some memory leak issues in the "ProfileParser.CPP" file. In functions "IsSolderprofileCSV()" and "loadSolderCsv()", a buffer is allocated for file operations, but in some conditions, that buffer is not correctly deleted and causes stack problems. Best regards