nus-cs2113-AY2425S1 / pe-dev-response

0 stars 0 forks source link

Format of saved data not checked #396

Open nus-pe-bot opened 6 days ago

nus-pe-bot commented 6 days ago

image.png When I go into one of the save files and mess with it by introducing an extra delimiter, the content of the flashcard gets messed up as well and the delimiter is included, including a loss of the original content. Perhaps it would first be useful to check for the format of each line of saved data, such as its count, before loading it?

image.png


[original: nus-cs2113-AY2425S1/pe-interim#634] [original labels: severity.Low type.FunctionalityBug]

frederickemerson commented 4 days ago

Team's Response

Thanks for pointing this error, this is something we could implement in the next milestone or versioning focusing on security

Duplicate status (if any):

--