commit | a88906b423e57e74a5bbaf1e315a58770d51c628 | [log] [tgz] |
---|---|---|
author | FRIGN <dev@frign.de> | Thu Feb 25 22:59:35 2016 +0100 |
committer | sin <sin@2f30.org> | Fri Feb 26 09:54:46 2016 +0000 |
tree | 7e3ec8d91afbe6007dd227620992cb0dae12a1e6 | |
parent | 33960886668653dbb35bbba26d8d993aaf4f4d06 [diff] |
Rever the strmem() addition and add a TODO element strmem() was not very well thought out. The thing is the following: If the string contains a zero character, we want to match it, and not stop right there in place. The "real" solution is to use memmem() where needed and replace all functions that assume zero-terminated-strings from standard input, which could lead to early string-breakoffs. This requires a strict tracking of string lengths.