mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +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:
parent
8303bc49a4
commit
350352cf38
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user