#16949: luci2 fails to compile with default format-security checks
-----------------------+-------------------------------------
  Reporter:  zloop     |      Owner:  developers
      Type:  defect    |     Status:  new
  Priority:  normal    |  Milestone:  Barrier Breaker (trunk)
 Component:  packages  |    Version:  Trunk
Resolution:            |   Keywords:
-----------------------+-------------------------------------

Comment (by zloop):

 {{{
 --- a/io/main.c
 +++ b/io/main.c
 @@ -299,7 +299,7 @@ failure(int e, const char *message)
  {
         printf("Status: 500 Internal Server failure\r\n");
         printf("Content-Type: text/plain\r\n\r\n");
 -       printf(message);
 +       printf("%s", message);

         if (e)
                 printf(": %s", strerror(e));
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/16949#comment:2>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to