Re: Mozilla's Security Warning for Link For Maintainer's "Bash Page" Link ......

2019-05-09 Thread Ángel
On 2019-05-05 at 16:22 +, Harvey Rothenberg wrote: > To Whom It May Concern, > > I'm receiving a " Warning : Potential Security Rick Ahead " by my use of > FireFox on my Xubuntu 18.04 Laptop (see screenshot below). > > Thanks Harvey I also receive this error. Seems the webmaster of t

Use high bits of the raw random number?

2019-05-09 Thread Peng Yu
Hi, Bash uses the low 16 bits for $RANDOM. https://git.savannah.gnu.org/cgit/bash.git/tree/variables.c#n1321 https://git.savannah.gnu.org/cgit/bash.git/tree/variables.c#n1356 It seems that the high bits should be more random. If so, maybe the high 16 bits should be kept if $RANDOM must stay in 1

Re: "set -u" and empty arrays

2019-05-09 Thread Greg Wooledge
On Thu, May 09, 2019 at 01:07:16PM +0200, Ulrich Windl wrote: > Bash Version: 4.3 > Patch Level: 48 > Release Status: release > > Hi! > > Is this intended with "set -u": > # set -u > # declare -a INSTANCES > # echo ${INSTANCES[*]} > bash: INSTANCES[*]: unbound variable > # INSTANCES=() > # echo $

"set -u" and empty arrays

2019-05-09 Thread Ulrich Windl
Bash Version: 4.3 Patch Level: 48 Release Status: release Hi! Is this intended with "set -u": # set -u # declare -a INSTANCES # echo ${INSTANCES[*]} bash: INSTANCES[*]: unbound variable # INSTANCES=() # echo ${INSTANCES[*]} bash: INSTANCES[*]: unbound variable # echo ${INSTANCES[@]} bash: INSTANC