raspberrypi-ui / piclone

Utility to back up Pi to an SD card reader
260 stars 62 forks source link

Potential overflow #2

Closed procount closed 8 years ago

procount commented 8 years ago

pclone.c line 236-237 - Best to wrap the sccanf line within an if() to ensure n is always less than 9, otherwise you may overflow parts[].

spl237 commented 8 years ago

Good point! Now fixed - thanks.