We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
调用./ipvsadm -a -t 192.168.93.100:8080 -r 192.168.93.130 -b时dpvs crash。 代码crash在dp_vs_service_set方法内: static int dp_vs_service_set(sockoptid_t opt, const void *user, size_t len) { int ret; unsigned char arg[MAX_ARG_LEN]; ... rte_memcpy(arg, user, len); ... } MAX_ARG_LEN值为376,但是传入的len值为392,导致栈溢出。这个问题有没有人遇到过,请指点。
The text was updated successfully, but these errors were encountered:
应该是编译ipvsadm的时候定义了_HAVE_IPVS_TUN_TYPE_宏,编译dpvs主程序时没定义,导致sizeof(dp_vs_dest_compat)计算结果不一样
Sorry, something went wrong.
keepalived: fix dpvs crash problem in issue iqiyi#911
c8243f4
Signed-off-by: ywc689 <[email protected]>
1297bfd
keepalived: fix dpvs crash problem in issue #911
6d8161e
4ff1c75
ywc689
No branches or pull requests
调用./ipvsadm -a -t 192.168.93.100:8080 -r 192.168.93.130 -b时dpvs crash。
代码crash在dp_vs_service_set方法内:
static int dp_vs_service_set(sockoptid_t opt, const void *user, size_t len)
{
int ret;
unsigned char arg[MAX_ARG_LEN];
...
rte_memcpy(arg, user, len);
...
}
MAX_ARG_LEN值为376,但是传入的len值为392,导致栈溢出。这个问题有没有人遇到过,请指点。
The text was updated successfully, but these errors were encountered: