sudo through ssh broken on -current?

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


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

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 :-(

	imb

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

iEYEARECAAYFAk9dP9sACgkQQv9rrgRC1JIWvgCdFwQmf1rCCAW72NWir4U3+rWA
FjcAoJdZyk1TeWiRFYsvdw3L7Swy+9Xf
=fuQr
-----END PGP SIGNATURE-----


More information about the freebsd-current mailing list