[Reproducible-commits] [presentations] 03/10: FOSDEM15: fix code indentation in diff

Jérémy Bobbio lunar at moszumanska.debian.org
Thu Jan 29 01:43:02 UTC 2015


This is an automated email from the git hooks/post-receive script.

lunar pushed a commit to branch master
in repository presentations.

commit 1d87e618092354c494545a1fb71d4bfa204fa162
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Thu Jan 29 02:20:26 2015 +0100

    FOSDEM15: fix code indentation in diff
---
 2015-01-31-FOSDEM15/2015-01-31-FOSDEM15.mdwn | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/2015-01-31-FOSDEM15/2015-01-31-FOSDEM15.mdwn b/2015-01-31-FOSDEM15/2015-01-31-FOSDEM15.mdwn
index b079132..b4165d4 100644
--- a/2015-01-31-FOSDEM15/2015-01-31-FOSDEM15.mdwn
+++ b/2015-01-31-FOSDEM15/2015-01-31-FOSDEM15.mdwn
@@ -87,12 +87,12 @@ How small can a backdoor be?
 OpenSSH 3.0.2 (CVE-2002-0083) – exploitable security bug (privilege escalation: user can get root)
 
 ~~~~diff
-{
-  Channel *c;
--     if (id < 0 || id > channels_alloc) {
-+     if (id < 0 || id >= channels_alloc) {
-  log("channel_lookup: %d: bad id", id);
-  return
+ {
+   Channel *c;
+-  if (id < 0 || id > channels_alloc) {
++  if (id < 0 || id >= channels_alloc) {
+     log("channel_lookup: %d: bad id", id);
+     return;
 ~~~~diff
 
 Result of fixing the bug (asm)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/presentations.git



More information about the Reproducible-commits mailing list