ipsec_dump_policy() was WAY TOO naive about buffer overrun. - don't use p = realloc(p, foo), it will result in memory leak - never assume strlen of other function's return value. - always pass boundary condition to lower functions
ipsec_dump_policy() was WAY TOO naive about buffer overrun.
- don't use p = realloc(p, foo), it will result in memory leak
- never assume strlen of other function's return value.
- always pass boundary condition to lower functions

MarginC/kame,MarginC/kame,MarginC/kame,MarginC/kame,MarginC/kame,MarginC/kame,MarginC/kame