Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102555957
D38037.id115038.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
526 B
Referenced Files
None
Subscribers
None
D38037.id115038.diff
View Options
diff --git a/contrib/tzcode/zic.c b/contrib/tzcode/zic.c
--- a/contrib/tzcode/zic.c
+++ b/contrib/tzcode/zic.c
@@ -1842,7 +1842,7 @@
static void
inrule(char **fields, int nfields)
{
- struct rule r;
+ struct rule r = { 0 };
if (nfields != RULE_FIELDS) {
error(_("wrong number of fields on Rule line"));
@@ -1921,7 +1921,7 @@
{
register char * cp;
char * cp1;
- struct zone z;
+ struct zone z = { 0 };
int format_len;
register int i_stdoff, i_rule, i_format;
register int i_untilyear, i_untilmonth;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 15, 12:31 AM (9 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14635753
Default Alt Text
D38037.id115038.diff (526 B)
Attached To
Mode
D38037: tzcode: Fully initialize structs before use.
Attached
Detach File
Event Timeline
Log In to Comment