mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
harmless "buffer overflow" fixed
This commit is contained in:
parent
f30976748c
commit
5909722f04
1 changed files with 2 additions and 2 deletions
|
|
@ -40,7 +40,7 @@
|
|||
#endif
|
||||
|
||||
|
||||
const char *filename= "test3.MSI";
|
||||
const char *filename= "test3";
|
||||
uint tests=10,forks=10,key_cacheing=0,use_log=0;
|
||||
|
||||
static void get_options(int argc, char *argv[]);
|
||||
|
|
@ -363,7 +363,7 @@ int test_write(MI_INFO *file,int id,int lock_type)
|
|||
}
|
||||
|
||||
sprintf(record.id,"%7d",getpid());
|
||||
strmov(record.text,"Testing...");
|
||||
strnmov(record.text,"Testing...", sizeof(record.text));
|
||||
|
||||
tries=(uint) rnd(100)+10;
|
||||
for (i=count=0 ; i < tries ; i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue