Why is my NSMutableString
potentially insecure? I searched for this but couldn't find anything.
int hour = [number intValue] / 3600;
NSMutableString *time = [[NSMutableString alloc] initWithString:@""];
if (hour < 9) {
[time appendFormat:@"0"];
[time appendFormat:[NSMutableString stringWithFormat:@"%d:", hour]];
}
What's wrong with it? This is the first time I've seen this.