sudo through ssh broken on -current?

Michael Butler imb at protected-networks.net
Mon Mar 12 00:33:09 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/11/12 20:14, Michael Butler wrote:
> On 03/11/12 20:07, Glen Barber wrote:
>> On Sun, Mar 11, 2012 at 07:55:02PM -0400, Michael Butler wrote:
>>> I noted some thing odd when executing the following ..
>>>
>>> /home/imb> ssh imb at xxxx "sudo /sbin/ipfw list"
>>>
>>> sudo: (malloc) /usr/src/lib/libc/stdlib/malloc.c:2644: Failed assertion:
>>> "(run->regs_mask[elm] & (1U << bit)) == 0"
>>> Abort
>>>
>>> Adding '-t' as a parameter to ssh runs without the assert,
>>>
> 
>> What is 'uname -a'?
> 
> client is FreeBSD 7.4-STABLE #11: Fri Mar  2 20:44:44 EST 2012
> server is FreeBSD 10.0-CURRENT #23: Sun Mar 11 18:46:14 EDT 2012
> 
> Both are i386.
> 
> Another interesting point: if run as part of a script, with no
> controlling tty, '-t' (or '-n', for that matter) produces the assertion :-(

Client version appears to not be relevant - occurs when executed from
the same SVN of -current,

	imb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (FreeBSD)

iEYEARECAAYFAk9dREIACgkQQv9rrgRC1JJIhgCdEl8f2ALP9R9gmlPwJQ/LYXdw
YdsAn2ZNmBtL9QsKpegU8Mvo70CCGbLd
=vs1t
-----END PGP SIGNATURE-----


More information about the freebsd-current mailing list