ophirhan / cnsr-vlc-viewer-addon

GNU General Public License v3.0
14 stars 18 forks source link

hadling bad inputs in cnsr_ext- mainly in parsing functions #145

Open eyal1889 opened 3 years ago

eyal1889 commented 3 years ago

there are few places where we dont check for bad inputs. mainly in the parsing part. what if we couldnt regex? example: in line_to_tag function, what if we couldnt process the line? what is the behavior? what would we return?

eyal1889 commented 3 years ago

mainly in all the parsing functions. what if we couldnt parse that string? we should check for corner cases too