Re: [Bug 264848] mpr0: mpr_user_pass_thru: user reply buffer (64) smaller than returned buffer (68)
- Reply: Mark Johnston : "Re: [Bug 264848] mpr0: mpr_user_pass_thru: user reply buffer (64) smaller than returned buffer (68)"
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 264848] mpr0: mpr_user_pass_thru: user reply buffer (64) smaller than returned buffer (68)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 05 Jul 2022 14:42:20 UTC
I’ve lost my bugzilla password, and it seems that the “Forgot Password” functionality doesn’t work.
Anyways...
The problems is here in mps_get_iocfacts()
snprintf(sysctlname, sizeof(sysctlname), "dev.%s.%d.msg_version",
is_mps ? "mps" : "mpr", mps_unit);
factslen = sizeof(MPI2_IOC_FACTS_REPLY);
len = sizeof(msgver);
error = sysctlbyname(sysctlname, msgver, &len, NULL, 0);
if (error == 0) {
if (strncmp(msgver, "2.6", sizeof(msgver)) == 0)
factslen += 4;
}
I haven’t been keeping track, but I’ll guess that msgver has numerically advanced past “2.6” for this system.
Scott
> On Jul 5, 2022, at 8:26 AM, bugzilla-noreply@freebsd.org wrote:
>
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264848
>
> --- Comment #5 from Julien Cigar <julien@perdition.city> ---
> show all, show adapters, ...
>
> (It's a new machine and I haven't used other subcommands yet)
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.