CVE-2015-8779: catopen() Multiple unbounded stack allocations (2 of 2)
authorPaul Pluzhnikov <ppluzhnikov@google.com>
Sat, 8 Aug 2015 22:54:40 +0000 (15:54 -0700)
committerDongkyun, Son <dongkyun.s@samsung.com>
Sun, 22 May 2016 13:28:57 +0000 (22:28 +0900)
 https://msisac.cisecurity.org/advisories/2016/2016-021.cfm
 https://sourceware.org/bugzilla/show_bug.cgi?id=17905

Fix trailing space.

Change-Id: I55ec41be7b76784588c5f6ea6528911fb33d31b3
Signed-off-by: Jaehun Jeong <jh4u.jeong@samsung.com>
catgets/tst-catgets.c

index 3e1fe84..25ef056 100644 (file)
@@ -30,7 +30,7 @@ do_bz17905 (void)
   rl.rlim_cur = sz;
   setrlimit (RLIMIT_STACK, &rl);
 
-  buf = malloc (sz + 1); 
+  buf = malloc (sz + 1);
   memset (buf, 'A', sz);
   buf[sz] = '\0';
   setenv ("NLSPATH", buf, 1);