Hi Sebastian, I guess this is the tribute we have to pay for the NSA :) I committed the patch to SVN.
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
