Remove obsolete check for trailing newlines in strings. Fix failure to null terminate strings. Refuse overlong strings. Refuse integers with trailing garbage. Refuse integers out of range.