mirror of
https://github.com/samba-team/samba.git
synced 2025-09-18 09:44:19 +03:00
s3:torture: make t_stringoverflow.c compile at least (pstring is long gone)
I don't know whether these t_* programs are used at all any more, but this one was using pstrcpy... Michael
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
int main(void)
|
||||
{
|
||||
fstring dest;
|
||||
char dest[100];
|
||||
char *ptr = dest;
|
||||
|
||||
printf("running on valgrind? %d\n", RUNNING_ON_VALGRIND);
|
||||
@@ -17,7 +17,7 @@
|
||||
pstrcpy(dest, "hello");
|
||||
#endif /* 0 */
|
||||
|
||||
pstrcpy(ptr, "hello!");
|
||||
fstrcpy(ptr, "hello!");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user