Page MenuHomeFreeBSD

D25662.id74430.diff
No OneTemporary

D25662.id74430.diff

Index: usr.bin/xinstall/xinstall.c
===================================================================
--- usr.bin/xinstall/xinstall.c
+++ usr.bin/xinstall/xinstall.c
@@ -1150,7 +1150,8 @@
p++;
else
p = temp;
- (void)strncpy(p, "INS@XXXX", &temp[tsize - 1] - p);
+ /* For compatibility with glibc we must use 6 'X' characters */
+ (void)strncpy(p, "INS@XXXXXX", &temp[tsize - 1] - p);
temp[tsize - 1] = '\0';
return (mkstemp(temp));
}

File Metadata

Mime Type
text/plain
Expires
Sun, Apr 26, 6:18 AM (7 m, 11 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32168511
Default Alt Text
D25662.id74430.diff (448 B)

Event Timeline