about summary refs log tree commit diff
path: root/test/test-floatingpoint.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-07-30 17:09:22 +0200
committervan Hauser <vh@thc.org>2020-07-30 17:09:22 +0200
commitea9ba53cdbc6d175f3f055c9a308668ebaacda1e (patch)
treee902b997bf3967a43f3a307e40aebde9675ac26d /test/test-floatingpoint.c
parent1ba48a5ba06106148b1b0e8d56472738fb2ce44c (diff)
downloadafl++-ea9ba53cdbc6d175f3f055c9a308668ebaacda1e.tar.gz
fix oob reads, code-format
Diffstat (limited to 'test/test-floatingpoint.c')
-rw-r--r--test/test-floatingpoint.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test-floatingpoint.c b/test/test-floatingpoint.c
index d1709b90..3a699595 100644
--- a/test/test-floatingpoint.c
+++ b/test/test-floatingpoint.c
@@ -17,10 +17,10 @@ int main(void) {
     int len = __AFL_FUZZ_TESTCASE_LEN;
     if (len != sizeof(float)) return 1;
 
-                 /* 15 + 1/2                      = 15.5  */
-                 /* 15 + 1/2 + 1/8                = 15.625  */
-                 /* 15 + 1/2 + 1/8 + 1/32         = 15.65625  */
-                 /* 15 + 1/2 + 1/8 + 1/32 + 1/128 = 15.6640625  */
+    /* 15 + 1/2                      = 15.5  */
+    /* 15 + 1/2 + 1/8                = 15.625  */
+    /* 15 + 1/2 + 1/8 + 1/32         = 15.65625  */
+    /* 15 + 1/2 + 1/8 + 1/32 + 1/128 = 15.6640625  */
     if ((-*magic == 15.0 + 0.5 + 0.125 + 0.03125 + 0.0078125)) abort();
 
   }