mirror of
https://github.com/reactos/reactos.git
synced 2025-06-06 01:40:36 +00:00
[WS2_32][DNSAPI]
- Avoid stack buffer overflow in ParseV4Address CORE-11474 svn path=/trunk/; revision=74373
This commit is contained in:
parent
77ec221feb
commit
497a20b8a0
2 changed files with 2 additions and 0 deletions
|
@ -460,6 +460,7 @@ again:
|
|||
*/
|
||||
if (*cp && *cp > ' ') return FALSE;
|
||||
|
||||
if (pp >= parts + 4) return FALSE;
|
||||
*pp++ = val;
|
||||
/*
|
||||
* Concoct the address according to
|
||||
|
|
|
@ -148,6 +148,7 @@ again:
|
|||
*/
|
||||
if (*cp) return FALSE;
|
||||
|
||||
if (pp >= parts + 4) return FALSE;
|
||||
*pp++ = val;
|
||||
/*
|
||||
* Concoct the address according to
|
||||
|
|
Loading…
Reference in a new issue