Exploit database

GH-e0cfbe4175da74c98d9edc01cb3e9d11

keowu/sjcam

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-52656

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files60
keowu/sjcamRevision cec1fabc54a5
Next files →

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

Lelouch/include/media/mediaservercaller.h

Text · 1,040 bytes
#ifndef __MEDIA_SERVER_CALLER_H__
#define __MEDIA_SERVER_CALLER_H__

#include <binder/IMemory.h>
#include <utils/Mutex.h>
#include <media/IMediaServerCaller.h>

namespace android {

class IMediaPlayerService;
class IMediaServerCaller;

class MediaServerCaller : public RefBase
{
public:
    MediaServerCaller();
    ~MediaServerCaller();

    sp<IMemory> jpegDecode(int fd);
    sp<IMemory> jpegDecode(const char *path);
    void disconnect();

private:
    static const sp<IMediaPlayerService>& getService();

    class DeathNotifier: public IBinder::DeathRecipient
    {
    public:
        DeathNotifier() {}
        virtual ~DeathNotifier();
        virtual void binderDied(const wp<IBinder>& who);
    };

    static sp<DeathNotifier>            sDeathNotifier;
    static Mutex                        sServiceLock;
    static sp<IMediaPlayerService>      sService;

    Mutex                               mLock;
    sp<IMediaServerCaller>              mCaller;
};

}; /* namespace android */

#endif /* __MEDIA_SERVER_CALLER_H__ */