[tor-dev] Patch to remove goto from sandbox.c
Hartmut Prochaska
hartmut.prochaska at gmail.com
Sat Mar 1 16:13:18 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Hi,
I changed a function in sandbox.c to not use a goto statement. I didn't
understood what use it had. Attached the patch file.
I did the usual tests and didn't found any error at first and second glance.
Please consider to test it yourself and if fit include it into production.
best regards
Hartmut
PS: I try to remove some more gotos, if this patch is ok.
- --
Ideas are the only things that can change the world.
The rest is details. -- Scott Adams
https://netzpolitik.org/2013/anleitung-so-verschlusselt-ihr-eure-e-mails-mit-pgp/
new Key ID since 26.07.13: 0xD8C361E6
Fingerprint: E5B3 302B 1BE1 D0B4 F190 E739 A365 60A9 D8C3 61E6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iQIcBAEBAwAGBQJTEgcdAAoJEKNlYKnYw2Hm9CwP/37Jijgz4By5Au/xkzWUiUWr
gRPNTswPZNKhZotgWNYvxQ3SJjhI0pKdFZicX3XUIMUCVJ5wFNT/4Edq3QdDsNGk
CorJ+J/UcuzpCQomqJ+zOj6Av+pNSe6/Nbpf8NOgNjAhF1fsqQNQb2/IuSwmqppy
YbVl8noNLk6cEb283xLWjwIVNPPTi1Nj0jDFh25ZVxGYcICkDUG6jDjhHNCAZJgG
mQEbvq6kBNeh5qX7KPmxhI7fSBh6kTFTLWxLAbYXJQFugqf1ho7T/ULFNOEFDu3e
edijtSfk1ysJ0bd9UoUfkD5cJ4fralgIH8mXhlntOxJpwL640g7Gla/bIpsiwrPW
XnBGM+qUrhd1HMLZVyVGBAysz+AIOFGYBSC4ZBGG4r2hDStakFHUJ5pNLJYY6EbA
NAh03yf8XtPnCM17dojBXvQK1KEXsl0St4ChcERp0uq1v/7d3MLNtM+h1iGhFacT
YQyUuZvbvaRoQp7bQUdLjnlRZHhGySwQnzU1T1hY3dxp/182GAGy/SxaWdG+NNsi
mVcxLJedzxm4Fx+cARPHLYDU3xPM7EPYSa81eOEUrniVJYx1LiacDSoVRlhfRQiU
+8mEs/eaOJJzaooSq/msYiTfFRh4bAu999nk+VHUo+9m9cjjp0sfzPSGNaBkg7dP
BLKg6P6uM8sDlOd3yZ4b
=g1L7
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0xD8C361E6.asc
Type: application/pgp-keys
Size: 3141 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20140301/1d4c3a0c/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sandbox-goto.patch
Type: text/x-patch
Size: 525 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20140301/1d4c3a0c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0xD8C361E6.asc.sig
Type: application/pgp-signature
Size: 543 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20140301/1d4c3a0c/attachment.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sandbox-goto.patch.sig
Type: application/pgp-signature
Size: 543 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20140301/1d4c3a0c/attachment-0001.sig>
More information about the tor-dev
mailing list