Cyrill Gorcunov
a3da8e4513
perf, ui: Eliminate stack-smashing protection compiler complaint
...
The gcc complains about small auto-var strings being allocated from stack space.
Make them const to avoid this:
| CC util/ui/util.o
| cc1: warnings being treated as errors
| util/ui/util.c: In function ‘ui__dialog_yesno’:
| util/ui/util.c:108: error: not protecting function: no buffer at least 8 bytes long
| make: *** [util/ui/util.o] Error 1
The real bug is in the newtWinChoice() ABI - but that's an
externality we cannot fix here, so we use this workaround.
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Acked-by: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <20101106084724.GA5956@lenovo>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2010-11-10 09:04:32 +01:00
..
2010-08-12 21:50:00 +02:00
2010-06-01 06:12:35 -03:00
2010-11-10 09:04:32 +01:00
2010-05-18 23:03:35 -03:00
2009-07-01 12:49:48 +02:00
2010-05-02 12:00:44 -03:00
2010-07-30 18:28:42 -03:00
2010-05-20 12:15:33 -03:00
2010-08-21 11:22:47 -03:00
2010-08-22 21:10:35 +02:00
2010-08-27 02:30:07 +02:00
2010-04-02 16:28:15 -03:00
2010-04-02 16:28:15 -03:00
2010-06-05 09:34:04 -03:00
2010-06-05 09:33:01 -03:00
2010-06-05 09:33:01 -03:00
2009-11-23 21:55:20 +01:00
2010-10-26 15:20:09 -02:00
2010-10-26 15:20:09 -02:00
2009-12-28 10:36:36 +01:00
2009-12-28 10:36:36 +01:00
2009-06-06 20:33:43 +02:00
2010-08-04 12:41:23 -03:00
2010-08-04 12:41:23 -03:00
2010-05-18 23:05:28 -03:00
2010-05-18 23:03:35 -03:00
2009-06-06 20:33:43 +02:00
2010-06-17 10:20:44 -03:00
2010-05-02 12:04:05 -03:00
2010-05-18 23:03:35 -03:00
2009-09-24 21:27:51 +02:00
2010-08-22 21:10:35 +02:00
2010-08-10 16:11:42 -03:00
2010-05-02 12:00:44 -03:00
2009-06-06 20:33:43 +02:00
2009-09-24 21:27:51 +02:00
2010-08-02 19:45:23 -03:00
2010-10-21 16:11:44 -02:00
2009-06-27 06:06:39 +02:00
2010-06-24 23:35:49 +02:00
2010-05-03 10:31:48 -03:00
2010-05-17 16:22:41 -03:00
2010-05-17 16:22:41 -03:00
2010-08-21 11:22:47 -03:00
2010-07-05 10:42:58 +02:00
2010-10-21 16:11:44 -02:00
2010-10-21 16:11:44 -02:00
2010-10-23 15:31:20 -02:00
2010-10-21 16:11:44 -02:00
2010-05-14 20:05:21 -03:00
2010-08-10 16:11:08 -03:00
2010-05-18 23:03:35 -03:00
2010-05-18 23:03:35 -03:00
2010-05-18 23:03:35 -03:00
2010-05-18 23:03:35 -03:00
2010-08-02 19:01:09 -03:00
2010-06-17 08:37:44 -03:00
2010-05-18 23:03:35 -03:00
2010-05-18 23:03:35 -03:00
2010-08-05 19:38:01 -03:00
2010-08-22 20:43:17 +02:00
2010-05-18 23:03:35 -03:00
2010-05-18 23:03:35 -03:00
2010-04-04 16:40:42 +02:00
2009-12-15 20:22:01 +01:00
2009-12-15 20:22:02 +01:00
2009-10-20 03:39:21 +02:00
2009-09-24 21:27:51 +02:00
2010-09-15 10:27:31 +02:00
2010-09-15 10:27:31 +02:00
2010-07-30 18:28:42 -03:00
2010-07-30 18:28:42 -03:00
2010-05-05 11:12:53 -03:00
2010-05-18 08:19:03 -07:00
2010-05-20 08:37:17 +02:00
2010-10-04 12:24:51 -03:00
2010-05-20 11:21:57 +02:00
2009-09-24 21:27:51 +02:00
2009-06-07 17:31:52 +02:00
2010-05-14 14:19:35 -03:00
2010-08-19 19:39:52 -03:00
2010-01-13 10:09:15 +01:00
2009-09-24 21:27:51 +02:00
2010-05-18 23:05:28 -03:00