| Index: UPDATING |
| =================================================================== |
| --- UPDATING (版本 309634) |
| +++ UPDATING (版本 309693) |
| @@ -16,6 +16,10 @@ |
| stable/10, and then rebuild without this option. The bootstrap process from |
| older version of current is a bit fragile. |
| |
| +20161208 p14 FreeBSD-SA-16:37.libc [revised] |
| + |
| + Fix regressions introduced by SA-16:37.libc. |
| + |
| 20161206 p13 FreeBSD-SA-16:36.telnetd |
| FreeBSD-SA-16:37.libc |
| FreeBSD-SA-16:38.bhyve |
| Index: lib/libc/net/linkaddr.c |
| =================================================================== |
| --- lib/libc/net/linkaddr.c (版本 309634) |
| +++ lib/libc/net/linkaddr.c (版本 309693) |
| @@ -128,7 +128,7 @@ |
| static char obuf[64]; |
| _Static_assert(sizeof(obuf) >= IFNAMSIZ + 20, "obuf is too small"); |
| char *out; |
| - const char *in, *inlim; |
| + const u_char *in, *inlim; |
| int namelen, i, rem; |
| |
| namelen = (sdl->sdl_nlen <= IFNAMSIZ) ? sdl->sdl_nlen : IFNAMSIZ; |
| @@ -145,11 +145,11 @@ |
| } |
| } |
| |
| - in = (const char *)sdl->sdl_data + sdl->sdl_nlen; |
| + in = (const u_char *)sdl->sdl_data + sdl->sdl_nlen; |
| inlim = in + sdl->sdl_alen; |
| |
| while (in < inlim && rem > 1) { |
| - if (in != (const char *)sdl->sdl_data + sdl->sdl_nlen) { |
| + if (in != (const u_char *)sdl->sdl_data + sdl->sdl_nlen) { |
| *out++ = '.'; |
| rem--; |
| } |
| @@ -157,15 +157,14 @@ |
| if (i > 0xf) { |
| if (rem < 3) |
| break; |
| + *out++ = hexlist[i >> 4]; |
| *out++ = hexlist[i & 0xf]; |
| - i >>= 4; |
| - *out++ = hexlist[i]; |
| rem -= 2; |
| } else { |
| if (rem < 2) |
| break; |
| *out++ = hexlist[i]; |
| - rem++; |
| + rem--; |
| } |
| } |
| *out = 0; |
| Index: sys/conf/newvers.sh |
| =================================================================== |
| --- sys/conf/newvers.sh (版本 309634) |
| +++ sys/conf/newvers.sh (版本 309693) |
| @@ -32,7 +32,7 @@ |
| |
| TYPE="FreeBSD" |
| REVISION="10.3" |
| -BRANCH="RELEASE-p13" |
| +BRANCH="RELEASE-p14" |
| if [ "X${BRANCH_OVERRIDE}" != "X" ]; then |
| BRANCH=${BRANCH_OVERRIDE} |
| fi |
| Index: . |
| =================================================================== |
| --- . (版本 309634) |
| +++ . (版本 309693) |
| |
| 属性改变: . |
| ___________________________________________________________________ |
| Modified: svn:mergeinfo |
| ## -0,0 +0,2 ## |
| 已经合并 /head:r309688 |
| 已经合并 /stable/10:r309690 |