On Fri, 13 Sep 2013 13:33:28 +0200 (CEST)
"Oliver Eichler" <[email protected]> wrote:
> Hi Sebastian,
>
> I guess this is the tribute we have to pay for the NSA :) I committed
> the patch to SVN.
arc4random() is provided by libbsd on Linux systems, can you add a check
for this situation? My cmake foo is too weak to create a correct
patch :-)
Dan
> Thanks
>
> Oliver
>
> > Gesendet: Freitag, 13. September 2013 um 08:34 Uhr
> > Von: "Sebastian Reitenbach" <[email protected]>
> > An: [email protected]
> > Betreff: [Qlandkartegt-users] use arc4random when available
> >
> > Hi,
> >
> > attached patch uses arc4random instead of rand/srand on systems
> > where available. As far as I know the random numbers used in qlgt
> > are only for randomly choosing some colors for lines, so not really
> > security related problem due to choosing weak random numbers, and
> > colors for lines ;) Anyways on OpenBSD -current now when linking,
> > warnings are shown, telling me that using rand, random and friends
> > is generally not a good choice.
> >
> > I added the attached patch when updating QLGT to 1.7.3 in the
> > OpenBSD ports tree, and should work on all systems that have
> > arc4random available. Could it be considered to be included to the
> > main QLGT source?
> >
> > cheers,
> > Sebastian------------------------------------------------------------------------------
> > How ServiceNow helps IT people transform IT departments:
> > 1. Consolidate legacy IT systems to a single system of record for IT
> > 2. Standardize and globalize service processes across IT
> > 3. Implement zero-touch automation to replace manual, redundant
> > tasks
> > http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk_______________________________________________
> > Qlandkartegt-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
> >
>
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. Consolidate legacy IT systems to a single system of record for IT
> 2. Standardize and globalize service processes across IT
> 3. Implement zero-touch automation to replace manual, redundant tasks
> http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
> _______________________________________________
> Qlandkartegt-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users