Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from CybercentreCanada/bugfix_doubling_space_f…
…orever Bugfix YaraFileProcessor.__replace_for_each_one_to_many() did not handle lines with only spaces or tabs well. Since the non_white_space_index only got set higher then 0 if a non_white_space character was found likes without spaces or tabs would double in size. Added a check, if non_white_space_index == 0 then set it to the lenghth of the line.
- Loading branch information