mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
fix possibility of access to *storedType without initialization
This commit is contained in:
parent
ec2e6951b8
commit
219a682e8e
1 changed files with 3 additions and 0 deletions
|
@ -209,6 +209,9 @@ static HashTable *umsg_parse_format(MessageFormatter_object *mfo,
|
|||
continue;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
intl_errors_set(&err, U_INVALID_FORMAT_ERROR, "Invalid part type encountered", 0 TSRMLS_CC);
|
||||
continue;
|
||||
}
|
||||
|
||||
UMessagePatternArgType argType = p.getArgType();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue