Re: sudo through ssh broken on -current?

From: Michael Butler <imb_at_protected-networks.net>
Date: Sun, 11 Mar 2012 20:14:19 -0400
-----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-----
Received on Sun Mar 11 2012 - 23:14:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:24 UTC