[X2Go-Dev] [X2Go-Commits] [nx-libs] 32/52: dix: integer overflow in GetHosts() [CVE-2014-8092 2/4]

Mihai Moldovan ionic at ionic.de
Mon Feb 16 06:28:13 CET 2015


On 15.02.2015 10:32 PM, Mihai Moldovan wrote:
> Not an error: I'd change the number "1048576" to "1024*1024", because
> "1048576" is not easily recognized as 1 MB while the latter is more
> clear (and the compiler statically optimizes it at compile/preprocessing
> time anyway.)
>
> if (n >= 1024*1024)

http://code.x2go.org/gitweb?p=nx-libs.git;a=commitdiff;h=b6b5b14e4190048fadbfbcf063d873d318127e81;hp=03a2922d9cc17af26bd91d4a471061c54db50789

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20150216/f8379138/attachment.pgp>


More information about the x2go-dev mailing list