Code Monkey home page Code Monkey logo

icecast-common's People

Contributors

dm8tbr avatar epienbroek avatar epirat avatar karlheyes avatar mlrsmithold avatar ph3-der-loewe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

icecast-common's Issues

possibly dangerous warning when compiling

I get this warning when compiling the common repo from GitLab(seems to be the most updated one). Is this dangerous?

/home/victorqueiroz/Personal/libshout/icecast-common/common/net/sock.c: In function ‘sock_try_connection’:
/home/victorqueiroz/Personal/libshout/icecast-common/common/net/sock.c:716:5: warning: ‘memcpy’ writing 16 bytes into a region of size 12 overflows the destination [-Wstringop-overflow=]
  716 |     memcpy(&server.sin_addr, &sin.sin_addr, sizeof(struct sockaddr_in));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/victorqueiroz/Personal/libshout/icecast-common/common/net/sock.c:695:29: note: at offset 4 into destination object ‘server’ of size 16
  695 |     struct sockaddr_in sin, server;
      |                             ^~~~~~

I am willing to help with a PR.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.