Skip to content

Commit 83a60d4

Browse files
committed
Merge branch 'PHP-5.5'
* PHP-5.5: Fixed typo ensuring header str is \0 terminated
2 parents 2443df3 + 54b740a commit 83a60d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/session/session.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,7 @@ static inline void strcpy_gmt(char *ubuf, time_t *when) /* {{{ */
10551055
res = php_gmtime_r(when, &tm);
10561056

10571057
if (!res) {
1058-
buf[0] = '\0';
1058+
ubuf[0] = '\0';
10591059
return;
10601060
}
10611061

0 commit comments

Comments
 (0)