Uploaded image for project: 'FreeSWITCH'
  1. FreeSWITCH
  2. FS-10153

_XOPEN_SOURCE 700 required in src/mod/applications/mod_http_cache/mod_http_cache.c

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.15
    • Fix Version/s: 1.8
    • Component/s: mod_http_cache
    • Labels:
      None
    • Environment:
      FreeBSD
    • CPU Architecture:
      x86-64
    • Kernel:
      FreeBSD
    • uname:
      FreeBSD apelsin.pingpong.net 11.0-RELEASE-p5 FreeBSD 11.0-RELEASE-p5 #23 r310083M: Wed Dec 14 18:57:32 CET 2016 root@apelsin.pingpong.net:/usr/obj/usr/src/sys/APELSIN amd64
    • Userland:
      FreeBSD
    • Distribution:
      FreeBSD
    • Compiler:
      clang
    • Compiler Version:
      # clang -v FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0) Target: x86_64-unknown-freebsd11.0 Thread model: posix InstalledDir: /usr/bin
    • FreeSWITCH GIT Revision:
      1.5.16
    • GIT Master Revision hash::
      1.5.16

      Description

      strndup is used on mod_http_cache.c, and it requires XOPEN_SOURCE >= 700, but in src/switch.c, it is set to 600.

        Attachments

          Activity

            People

            • Assignee:
              mikej Mike Jerris
              Reporter:
              girgen Palle Girgensohn
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: