Re: bash randomly logs out on VT / serial console

2017-01-03 Thread Russell King
On Mon, Jan 02, 2017 at 02:06:01PM -0500, Chet Ramey wrote: > On 1/2/17 6:09 AM, Russell King wrote: > > On Sun, Jan 01, 2017 at 09:14:45PM -0500, Chet Ramey wrote: > >> On 1/1/17 4:01 PM, r...@armlinux.org.uk wrote: > >>> Bash Version: 4.3 > >>> Patch Level: 30 > >>> Release Status: release > >>>

help vs. partial option lists

2017-01-03 Thread 積丹尼 Dan Jacobson
$ help complete ... Options: -pprint existing completion specifications in a reusable format -rremove a completion specification for each NAME, or, if no NAMEs are supplied, all completion specifications -Dapply the completions and actio

Re: bash randomly logs out on VT / serial console

2017-01-03 Thread Dmitry V. Levin
Hi, On Mon, Jan 02, 2017 at 11:33:16PM +, Russell King wrote: [...] > 17:38:39.478119 ioctl(255, SNDRV_TIMER_IOCTL_SELECT or TIOCSPGRP, [10928]) = 0 > 17:38:39.478250 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 > 17:38:39.478395 ioctl(255, SNDCTL_TMR_TIMEBASE or > SNDRV_TIMER_IOCTL_NEXT_

memory leak(not freeing allocated buffer)

2017-01-03 Thread Sticky Chocolate
Version:4.4 (This isn't so much a security bug) While looking threw copy_cmd.c I saw when allocating new_redirect it doesn't free it when it is done using it. copy_cmd.c Ln 115 REDIRECT * copy_redirect (redirect) REDIRECT *red

Re: memory leak(not freeing allocated buffer)

2017-01-03 Thread Chet Ramey
On 1/2/17 7:52 PM, Sticky Chocolate wrote: > Version:4.4 > > (This isn't so much a security bug) > While looking threw copy_cmd.c I saw when allocating new_redirect it > doesn't free it when it is done using it. That's the return value from the function. -- ``The lyf so short, the craft so long

Re: bash randomly logs out on VT / serial console

2017-01-03 Thread Russell King
On Tue, Jan 03, 2017 at 09:03:52AM +, Russell King wrote: > On Mon, Jan 02, 2017 at 02:06:01PM -0500, Chet Ramey wrote: > > On 1/2/17 6:09 AM, Russell King wrote: > > > On Sun, Jan 01, 2017 at 09:14:45PM -0500, Chet Ramey wrote: > > >> On 1/1/17 4:01 PM, r...@armlinux.org.uk wrote: > > >>> Bash