mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-23 19:29:18 +00:00
Fix off by one error in sscanf length arg.
This commit is contained in:
parent
d19e757e1c
commit
6bc3dd29a8
@ -84,7 +84,7 @@ static int get_dns_addr(struct in_addr *pdns_addr)
|
||||
static int get_dns_addr(struct in_addr *pdns_addr)
|
||||
{
|
||||
char buff[512];
|
||||
char buff2[256];
|
||||
char buff2[256+1];
|
||||
FILE *f;
|
||||
int found = 0;
|
||||
struct in_addr tmp_addr;
|
||||
|
Loading…
Reference in New Issue
Block a user