On Friday, September 13, 2013 14:13 CEST, Dan Horák <[email protected]> wrote: > 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 :-)
My cmake skills were just enough to add that check to make it detect arc4random where it is in stdlib available. My cmake skills are fairly weak otherwise, additionally I'm lacking a Linux box where I could test. Sebastian > > > 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 ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk _______________________________________________ Qlandkartegt-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
