Git Product home page Git Product logo

python-mixstream's Introduction

python-mixstream's People

Contributors

dependabot[bot] avatar linkid avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

linkid

python-mixstream's Issues

MixStream: g_thread_init is deprecated

This warning was raised when compiling the MixStream extension:

fretwork/mixstream/MixStream.c: In function ‘mix_stream_new’:
fretwork/mixstream/MixStream.c:75:5: warning: ‘g_thread_init’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:261) [-Wdeprecated-declarations]

As we're using glib 2.34.3+, g_thread_init can be removed.
Eventually, we can add a condition on the version of glib.

Potential security vulnerability in the libvorbis C library

Hi, @Linkid , I'd like to report a vulnerability issue in mixstream_1.1.0.

Dependency Graph between Python and Shared Libraries

image

Issue Description

As shown in the above dependency graph (Here shows part of the dependency graph, which depends on vulnerable shared libraries), mixstream_1.1.0 directly or transitively depends on 5 C libraries (.so). However, I noticed that one C library is vulnerable, containing the following CVE:
libvorbisfile-c5d289a9.so.3.3.5from C project libvorbis(version:1.3.2) exposed 1 vulnerability:
CVE-2020-20412

Suggested Vulnerability Patch Versions

libvorbis has fixed the vulnerabilities in versions >=1.3.6

Python build tools cannot report vulnerable C libraries, which may induce potential security issues to many downstream Python projects.
As a popular python package (mixstream has 1,887 downloads per month), could you please upgrade the above shared libraries to their patch versions?

Thanks for your help~
Best regards,
Jor Gardner

g_memdup is deprecated

This warning was raised when compiling the MixStream package:

mixstream/MixStream.c: In function ‘mix_stream_play’:
mixstream/MixStream.c:355:3: warning: ‘g_memdup’ is deprecated. Use 'g_memdup2' instead [-Wdeprecated-declarations]

g_memdup is deprecated since GLib 2.68.

MixStream: g_mutex_free is deprecated

This warning was raised when compiling the MixStream extension:

fretwork/mixstream/MixStream.c: In function ‘mix_stream_destroy’:
fretwork/mixstream/MixStream.c:135:3: warning: ‘g_mutex_free’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:275) [-Wdeprecated-declarations]

As we're using glib 2.34.3+, g_mutex_free can be removed or replaced by g_mutex_clear.
Eventually, we can add a condition on the version of glib.

MixStream: g_mutex_new is deprecated

This warning was raised when compiling the MixStream extension:

fretwork/mixstream/MixStream.c: In function ‘mix_stream_new’:
fretwork/mixstream/MixStream.c:119:3: warning: ‘g_mutex_new’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:273) [-Wdeprecated-declarations]

As we're using glib 2.34.3+, g_mutex_new can be removed.
See https://developer.gnome.org/glib/stable/glib-Threads.html#GMutex for how it should be.
Eventually, we can add a condition on the version of glib.

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.