JensAyton / JATemplate

String formatting that’s convenient and less evil than printf-style formatting.
30 stars 1 forks source link

Sanitize num: strings #8

Open JensAyton opened 11 years ago

JensAyton commented 11 years ago

Fuzz testing has exposed a crashing bug in NSNumberFormatter when passed certain ill-formed format strings. Ideally we should validate NSNumberFormatter format strings to avoid triggering the crash, if only so the fuzz tester can be left running for long periods of time.