idx
int64
func_before
string
Vulnerability Classification
string
vul
int64
func_after
string
patch
string
CWE ID
string
lines_before
string
lines_after
string
21,600
cached_NPN_IdentifierIsString(NPIdentifier ident) { #if USE_NPIDENTIFIER_CACHE if (use_npidentifier_cache()) { NPIdentifierInfo *npi = npidentifier_cache_lookup(ident); if (npi) return npi->string_len > 0; } #endif /* cache update is postponed to actual NPN_UTF8FromIdentifier() or NPN_IntFromIdentifier() *...
Bypass
0
cached_NPN_IdentifierIsString(NPIdentifier ident) { #if USE_NPIDENTIFIER_CACHE if (use_npidentifier_cache()) { NPIdentifierInfo *npi = npidentifier_cache_lookup(ident); if (npi) return npi->string_len > 0; } #endif /* cache update is postponed to actual NPN_UTF8FromIdentifier() or NPN_IntFromIdentifier() *...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,601
cached_NPN_IntFromIdentifier(NPIdentifier identifier) { int32_t value; if (!use_npidentifier_cache()) value = invoke_NPN_IntFromIdentifier(identifier); else { #if USE_NPIDENTIFIER_CACHE NPIdentifierInfo *npi = npidentifier_cache_lookup(identifier); if (npi) { assert(npi->string_len == 0); value = npi->u....
Bypass
0
cached_NPN_IntFromIdentifier(NPIdentifier identifier) { int32_t value; if (!use_npidentifier_cache()) value = invoke_NPN_IntFromIdentifier(identifier); else { #if USE_NPIDENTIFIER_CACHE NPIdentifierInfo *npi = npidentifier_cache_lookup(identifier); if (npi) { assert(npi->string_len == 0); value = npi->u....
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,602
cached_NPN_UTF8FromIdentifier(NPIdentifier identifier) { NPUTF8 *str; if (!use_npidentifier_cache()) str = invoke_NPN_UTF8FromIdentifier(identifier); else { #if USE_NPIDENTIFIER_CACHE str = npidentifier_cache_get_string_copy(identifier); if (str == NULL) { str = invoke_NPN_UTF8FromIdentifier(identifier); ...
Bypass
0
cached_NPN_UTF8FromIdentifier(NPIdentifier identifier) { NPUTF8 *str; if (!use_npidentifier_cache()) str = invoke_NPN_UTF8FromIdentifier(identifier); else { #if USE_NPIDENTIFIER_CACHE str = npidentifier_cache_get_string_copy(identifier); if (str == NULL) { str = invoke_NPN_UTF8FromIdentifier(identifier); ...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,603
static int create_window(PluginInstance *plugin, NPWindow *window) { if (plugin->is_windowless) { destroy_window_attributes(plugin->window.ws_info); plugin->window.ws_info = NULL; } assert(plugin->window.ws_info == NULL); NPSetWindowCallbackStruct *ws_info; if ((ws_info = NPW_MemClone(NPSetWindowCallbackSt...
Bypass
0
static int create_window(PluginInstance *plugin, NPWindow *window) { if (plugin->is_windowless) { destroy_window_attributes(plugin->window.ws_info); plugin->window.ws_info = NULL; } assert(plugin->window.ws_info == NULL); NPSetWindowCallbackStruct *ws_info; if ((ws_info = NPW_MemClone(NPSetWindowCallbackSt...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,604
static int create_window_attributes(NPSetWindowCallbackStruct *ws_info) { if (ws_info == NULL) return -1; GdkVisual *gdk_visual; if (ws_info->visual) gdk_visual = gdkx_visual_get((uintptr_t)ws_info->visual); else gdk_visual = gdk_visual_get_system(); if (gdk_visual == NULL) { npw_printf("ERROR: could not ...
Bypass
0
static int create_window_attributes(NPSetWindowCallbackStruct *ws_info) { if (ws_info == NULL) return -1; GdkVisual *gdk_visual; if (ws_info->visual) gdk_visual = gdkx_visual_get((uintptr_t)ws_info->visual); else gdk_visual = gdk_visual_get_system(); if (gdk_visual == NULL) { npw_printf("ERROR: could not ...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,605
static void delayed_calls_add(int type, gpointer data) { DelayedCall *dcall = NPW_MemNew(DelayedCall, 1); if (dcall == NULL) return; dcall->type = type; dcall->data = data; g_delayed_calls = g_list_append(g_delayed_calls, dcall); if (g_delayed_calls_id == 0) g_delayed_calls_id = g_idle_add_full(G_PRIORIT...
Bypass
0
static void delayed_calls_add(int type, gpointer data) { DelayedCall *dcall = NPW_MemNew(DelayedCall, 1); if (dcall == NULL) return; dcall->type = type; dcall->data = data; g_delayed_calls = g_list_append(g_delayed_calls, dcall); if (g_delayed_calls_id == 0) g_delayed_calls_id = g_idle_add_full(G_PRIORIT...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,606
static gboolean delayed_calls_process_cb(gpointer user_data) { return delayed_calls_process(NULL, FALSE); }
Bypass
0
static gboolean delayed_calls_process_cb(gpointer user_data) { return delayed_calls_process(NULL, FALSE); }
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,607
static gboolean delayed_destroys_process_cb(gpointer user_data) { while (g_delayed_destroys != NULL) { PluginInstance *plugin = (PluginInstance *)g_delayed_destroys->data; g_delayed_destroys = g_list_delete_link(g_delayed_destroys, g_delayed_destroys); g_NPP_Destroy_Now(plugin, NULL); } if (g_delay...
Bypass
0
static gboolean delayed_destroys_process_cb(gpointer user_data) { while (g_delayed_destroys != NULL) { PluginInstance *plugin = (PluginInstance *)g_delayed_destroys->data; g_delayed_destroys = g_list_delete_link(g_delayed_destroys, g_delayed_destroys); g_NPP_Destroy_Now(plugin, NULL); } if (g_delay...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,608
static void destroy_window_attributes(NPSetWindowCallbackStruct *ws_info) { if (ws_info == NULL) return; NPW_MemFree(ws_info); }
Bypass
0
static void destroy_window_attributes(NPSetWindowCallbackStruct *ws_info) { if (ws_info == NULL) return; NPW_MemFree(ws_info); }
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,609
static int do_help(const char *prog) { printf("%s, NPAPI plugin viewer. Version %s\n", NPW_VIEWER, NPW_VERSION); printf("\n"); printf("usage: %s [GTK flags] [flags]\n", prog); printf(" -h --help print this message\n"); printf(" -t --test check plugin is compatible\n"); printf...
Bypass
0
static int do_help(const char *prog) { printf("%s, NPAPI plugin viewer. Version %s\n", NPW_VIEWER, NPW_VERSION); printf("\n"); printf("usage: %s [GTK flags] [flags]\n", prog); printf(" -h --help print this message\n"); printf(" -t --test check plugin is compatible\n"); printf...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,610
static int do_info(void) { if (do_test() != 0) return 1; const char *plugin_name = NULL; if (g_NP_GetValue(NPPVpluginNameString, &plugin_name) == NPERR_NO_ERROR && plugin_name) printf("PLUGIN_NAME %zd\n%s\n", strlen(plugin_name), plugin_name); const char *plugin_desc = NULL; if (g_NP_GetValue(NPPVpluginDesc...
Bypass
0
static int do_info(void) { if (do_test() != 0) return 1; const char *plugin_name = NULL; if (g_NP_GetValue(NPPVpluginNameString, &plugin_name) == NPERR_NO_ERROR && plugin_name) printf("PLUGIN_NAME %zd\n%s\n", strlen(plugin_name), plugin_name); const char *plugin_desc = NULL; if (g_NP_GetValue(NPPVpluginDesc...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,611
static int do_main(int argc, char **argv, const char *connection_path) { if (do_test() != 0) return 1; if (connection_path == NULL) { npw_printf("ERROR: missing connection path argument\n"); return 1; } D(bug(" Plugin connection: %s\n", connection_path)); D(bug(" Plugin viewer pid: %d\n", getpid())); ...
Bypass
0
static int do_main(int argc, char **argv, const char *connection_path) { if (do_test() != 0) return 1; if (connection_path == NULL) { npw_printf("ERROR: missing connection path argument\n"); return 1; } D(bug(" Plugin connection: %s\n", connection_path)); D(bug(" Plugin viewer pid: %d\n", getpid())); ...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,612
static int error_handler(Display *display, XErrorEvent *error) { trapped_error_code = error->error_code; return 0; }
Bypass
0
static int error_handler(Display *display, XErrorEvent *error) { trapped_error_code = error->error_code; return 0; }
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,613
static void fixup_size_hints(PluginInstance *plugin) { NPWindow *window = &plugin->window; if (window->width == 0 || window->height == 0) { if (plugin->width && plugin->height) { window->width = plugin->width; window->height = plugin->height; return; } } if (window->window && (window->width == 0 ||...
Bypass
0
static void fixup_size_hints(PluginInstance *plugin) { NPWindow *window = &plugin->window; if (window->width == 0 || window->height == 0) { if (plugin->width && plugin->height) { window->width = plugin->width; window->height = plugin->height; return; } } if (window->window && (window->width == 0 ||...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,614
g_NPN_CreateObject(NPP instance, NPClass *class) { if (!thread_check()) { npw_printf("WARNING: NPN_CreateObject not called from the main thread\n"); return NULL; } if (instance == NULL) return NULL; PluginInstance *plugin = PLUGIN_INSTANCE(instance); if (plugin == NULL) return NULL; if (class == NU...
Bypass
0
g_NPN_CreateObject(NPP instance, NPClass *class) { if (!thread_check()) { npw_printf("WARNING: NPN_CreateObject not called from the main thread\n"); return NULL; } if (instance == NULL) return NULL; PluginInstance *plugin = PLUGIN_INSTANCE(instance); if (plugin == NULL) return NULL; if (class == NU...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,615
g_NPN_DestroyStream(NPP instance, NPStream *stream, NPError reason) { if (!thread_check()) { npw_printf("WARNING: NPN_DestroyStream not called from the main thread\n"); return NPERR_INVALID_INSTANCE_ERROR; } if (instance == NULL) return NPERR_INVALID_INSTANCE_ERROR; PluginInstance *plugin = PLUGIN_INSTAN...
Bypass
0
g_NPN_DestroyStream(NPP instance, NPStream *stream, NPError reason) { if (!thread_check()) { npw_printf("WARNING: NPN_DestroyStream not called from the main thread\n"); return NPERR_INVALID_INSTANCE_ERROR; } if (instance == NULL) return NPERR_INVALID_INSTANCE_ERROR; PluginInstance *plugin = PLUGIN_INSTAN...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,616
g_NPN_Evaluate(NPP instance, NPObject *npobj, NPString *script, NPVariant *result) { if (!thread_check()) { npw_printf("WARNING: NPN_Evaluate not called from the main thread\n"); return false; } if (instance == NULL) return false; PluginInstance *plugin = PLUGIN_INSTANCE(instance); if (plugin == NULL) r...
Bypass
0
g_NPN_Evaluate(NPP instance, NPObject *npobj, NPString *script, NPVariant *result) { if (!thread_check()) { npw_printf("WARNING: NPN_Evaluate not called from the main thread\n"); return false; } if (instance == NULL) return false; PluginInstance *plugin = PLUGIN_INSTANCE(instance); if (plugin == NULL) r...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,617
g_NPN_ForceRedraw(NPP instance) { D(bug("NPN_ForceRedraw instance=%p\n", instance)); NPW_UNIMPLEMENTED(); }
Bypass
0
g_NPN_ForceRedraw(NPP instance) { D(bug("NPN_ForceRedraw instance=%p\n", instance)); NPW_UNIMPLEMENTED(); }
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,618
g_NPN_GetIntIdentifier(int32_t intid) { if (!thread_check()) { npw_printf("WARNING: NPN_GetIntIdentifier not called from the main thread\n"); return NULL; } D(bugiI("NPN_GetIntIdentifier intid=%d\n", intid)); NPIdentifier ret = cached_NPN_GetIntIdentifier(intid); D(bugiD("NPN_GetIntIdentifier return: %p\n"...
Bypass
0
g_NPN_GetIntIdentifier(int32_t intid) { if (!thread_check()) { npw_printf("WARNING: NPN_GetIntIdentifier not called from the main thread\n"); return NULL; } D(bugiI("NPN_GetIntIdentifier intid=%d\n", intid)); NPIdentifier ret = cached_NPN_GetIntIdentifier(intid); D(bugiD("NPN_GetIntIdentifier return: %p\n"...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,619
g_NPN_GetJavaEnv(void) { D(bug("NPN_GetJavaEnv\n")); return NULL; }
Bypass
0
g_NPN_GetJavaEnv(void) { D(bug("NPN_GetJavaEnv\n")); return NULL; }
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,620
g_NPN_GetJavaPeer(NPP instance) { D(bug("NPN_GetJavaPeer instance=%p\n", instance)); return NULL; }
Bypass
0
g_NPN_GetJavaPeer(NPP instance) { D(bug("NPN_GetJavaPeer instance=%p\n", instance)); return NULL; }
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,621
g_NPN_GetProperty(NPP instance, NPObject *npobj, NPIdentifier propertyName, NPVariant *result) { if (!thread_check()) { npw_printf("WARNING: NPN_GetProperty not called from the main thread\n"); return false; } if (instance == NULL) return false; PluginInstance *plugin = PLUGIN_INSTANCE(instance); i...
Bypass
0
g_NPN_GetProperty(NPP instance, NPObject *npobj, NPIdentifier propertyName, NPVariant *result) { if (!thread_check()) { npw_printf("WARNING: NPN_GetProperty not called from the main thread\n"); return false; } if (instance == NULL) return false; PluginInstance *plugin = PLUGIN_INSTANCE(instance); i...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,622
g_NPN_GetURL(NPP instance, const char *url, const char *target) { if (!thread_check()) { npw_printf("WARNING: NPN_GetURL not called from the main thread\n"); return NPERR_INVALID_INSTANCE_ERROR; } if (instance == NULL) return NPERR_INVALID_INSTANCE_ERROR; PluginInstance *plugin = PLUGIN_INSTANCE(instance);...
Bypass
0
g_NPN_GetURL(NPP instance, const char *url, const char *target) { if (!thread_check()) { npw_printf("WARNING: NPN_GetURL not called from the main thread\n"); return NPERR_INVALID_INSTANCE_ERROR; } if (instance == NULL) return NPERR_INVALID_INSTANCE_ERROR; PluginInstance *plugin = PLUGIN_INSTANCE(instance);...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,623
g_NPN_GetURLNotify(NPP instance, const char *url, const char *target, void *notifyData) { if (!thread_check()) { npw_printf("WARNING: NPN_GetURLNotify not called from the main thread\n"); return NPERR_INVALID_INSTANCE_ERROR; } if (instance == NULL) return NPERR_INVALID_INSTANCE_ERROR; PluginInstance *plug...
Bypass
0
g_NPN_GetURLNotify(NPP instance, const char *url, const char *target, void *notifyData) { if (!thread_check()) { npw_printf("WARNING: NPN_GetURLNotify not called from the main thread\n"); return NPERR_INVALID_INSTANCE_ERROR; } if (instance == NULL) return NPERR_INVALID_INSTANCE_ERROR; PluginInstance *plug...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,624
g_NPN_GetValue_real(NPP instance, NPNVariable variable, void *value) { PluginInstance *plugin = NULL; if (instance) plugin = PLUGIN_INSTANCE(instance); npw_plugin_instance_ref(plugin); NPError ret = invoke_NPN_GetValue(plugin, variable, value); npw_plugin_instance_unref(plugin); return ret; }
Bypass
0
g_NPN_GetValue_real(NPP instance, NPNVariable variable, void *value) { PluginInstance *plugin = NULL; if (instance) plugin = PLUGIN_INSTANCE(instance); npw_plugin_instance_ref(plugin); NPError ret = invoke_NPN_GetValue(plugin, variable, value); npw_plugin_instance_unref(plugin); return ret; }
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,625
g_NPN_HasProperty(NPP instance, NPObject *npobj, NPIdentifier propertyName) { if (!thread_check()) { npw_printf("WARNING: NPN_HasProperty not called from the main thread\n"); return false; } if (instance == NULL) return false; PluginInstance *plugin = PLUGIN_INSTANCE(instance); if (plugin == NULL) retur...
Bypass
0
g_NPN_HasProperty(NPP instance, NPObject *npobj, NPIdentifier propertyName) { if (!thread_check()) { npw_printf("WARNING: NPN_HasProperty not called from the main thread\n"); return false; } if (instance == NULL) return false; PluginInstance *plugin = PLUGIN_INSTANCE(instance); if (plugin == NULL) retur...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,626
g_NPN_IntFromIdentifier(NPIdentifier identifier) { if (!thread_check()) { npw_printf("WARNING: NPN_IntFromIdentifier not called from the main thread\n"); return 0; } D(bugiI("NPN_IntFromIdentifier identifier=%p\n", identifier)); int32_t ret = cached_NPN_IntFromIdentifier(identifier); D(bugiD("NPN_IntFrom...
Bypass
0
g_NPN_IntFromIdentifier(NPIdentifier identifier) { if (!thread_check()) { npw_printf("WARNING: NPN_IntFromIdentifier not called from the main thread\n"); return 0; } D(bugiI("NPN_IntFromIdentifier identifier=%p\n", identifier)); int32_t ret = cached_NPN_IntFromIdentifier(identifier); D(bugiD("NPN_IntFrom...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,627
g_NPN_InvalidateRect(NPP instance, NPRect *invalidRect) { if (!thread_check()) { npw_printf("WARNING: NPN_InvalidateRect not called from the main thread\n"); return; } if (instance == NULL) return; PluginInstance *plugin = PLUGIN_INSTANCE(instance); if (plugin == NULL) return; if (invalidRect == NULL...
Bypass
0
g_NPN_InvalidateRect(NPP instance, NPRect *invalidRect) { if (!thread_check()) { npw_printf("WARNING: NPN_InvalidateRect not called from the main thread\n"); return; } if (instance == NULL) return; PluginInstance *plugin = PLUGIN_INSTANCE(instance); if (plugin == NULL) return; if (invalidRect == NULL...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,628
g_NPN_InvalidateRegion(NPP instance, NPRegion invalidRegion) { D(bug("NPN_InvalidateRegion instance=%p\n", instance)); NPW_UNIMPLEMENTED(); }
Bypass
0
g_NPN_InvalidateRegion(NPP instance, NPRegion invalidRegion) { D(bug("NPN_InvalidateRegion instance=%p\n", instance)); NPW_UNIMPLEMENTED(); }
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,629
g_NPN_Invoke(NPP instance, NPObject *npobj, NPIdentifier methodName, const NPVariant *args, uint32_t argCount, NPVariant *result) { if (!thread_check()) { npw_printf("WARNING: NPN_Invoke not called from the main thread\n"); return false; } if (instance == NULL) return false; PluginInstance *plugin = PL...
Bypass
0
g_NPN_Invoke(NPP instance, NPObject *npobj, NPIdentifier methodName, const NPVariant *args, uint32_t argCount, NPVariant *result) { if (!thread_check()) { npw_printf("WARNING: NPN_Invoke not called from the main thread\n"); return false; } if (instance == NULL) return false; PluginInstance *plugin = PL...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,630
g_NPN_InvokeDefault(NPP instance, NPObject *npobj, const NPVariant *args, uint32_t argCount, NPVariant *result) { if (!thread_check()) { npw_printf("WARNING: NPN_InvokeDefault not called from the main thread\n"); return false; } if (instance == NULL) return false; PluginInstance *plugin = PLUGIN_INSTA...
Bypass
0
g_NPN_InvokeDefault(NPP instance, NPObject *npobj, const NPVariant *args, uint32_t argCount, NPVariant *result) { if (!thread_check()) { npw_printf("WARNING: NPN_InvokeDefault not called from the main thread\n"); return false; } if (instance == NULL) return false; PluginInstance *plugin = PLUGIN_INSTA...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,631
g_NPN_MemAlloc(uint32_t size) { D(bugiI("NPN_MemAlloc size=%d\n", size)); void *ptr = NPW_MemAlloc(size); D(bugiD("NPN_MemAlloc return: %p\n", ptr)); return ptr; }
Bypass
0
g_NPN_MemAlloc(uint32_t size) { D(bugiI("NPN_MemAlloc size=%d\n", size)); void *ptr = NPW_MemAlloc(size); D(bugiD("NPN_MemAlloc return: %p\n", ptr)); return ptr; }
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,632
g_NPN_NewStream(NPP instance, NPMIMEType type, const char *target, NPStream **stream) { if (!thread_check()) { npw_printf("WARNING: NPN_NewStream not called from the main thread\n"); return NPERR_INVALID_INSTANCE_ERROR; } if (instance == NULL) return NPERR_INVALID_INSTANCE_ERROR; PluginInstance *plugin = P...
Bypass
0
g_NPN_NewStream(NPP instance, NPMIMEType type, const char *target, NPStream **stream) { if (!thread_check()) { npw_printf("WARNING: NPN_NewStream not called from the main thread\n"); return NPERR_INVALID_INSTANCE_ERROR; } if (instance == NULL) return NPERR_INVALID_INSTANCE_ERROR; PluginInstance *plugin = P...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,633
g_NPN_PopPopupsEnabledState(NPP instance) { if (!thread_check()) { npw_printf("WARNING: NPN_PophPopupsEnabledState not called from the main thread\n"); return; } if (instance == NULL) return; PluginInstance *plugin = PLUGIN_INSTANCE(instance); if (plugin == NULL) return; D(bugiI("NPN_PopPopupsEnabled...
Bypass
0
g_NPN_PopPopupsEnabledState(NPP instance) { if (!thread_check()) { npw_printf("WARNING: NPN_PophPopupsEnabledState not called from the main thread\n"); return; } if (instance == NULL) return; PluginInstance *plugin = PLUGIN_INSTANCE(instance); if (plugin == NULL) return; D(bugiI("NPN_PopPopupsEnabled...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,634
g_NPN_PostURL(NPP instance, const char *url, const char *target, uint32_t len, const char *buf, NPBool file) { if (!thread_check()) { npw_printf("WARNING: NPN_PostURL not called from the main thread\n"); return NPERR_INVALID_INSTANCE_ERROR; } if (instance == NULL) return NPERR_INVALID_INSTANCE_ERROR; Plugi...
Bypass
0
g_NPN_PostURL(NPP instance, const char *url, const char *target, uint32_t len, const char *buf, NPBool file) { if (!thread_check()) { npw_printf("WARNING: NPN_PostURL not called from the main thread\n"); return NPERR_INVALID_INSTANCE_ERROR; } if (instance == NULL) return NPERR_INVALID_INSTANCE_ERROR; Plugi...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,635
g_NPN_PostURLNotify(NPP instance, const char *url, const char *target, uint32_t len, const char *buf, NPBool file, void *notifyData) { if (!thread_check()) { npw_printf("WARNING: NPN_PostURLNotify not called from the main thread\n"); return NPERR_INVALID_INSTANCE_ERROR; } if (instance == NULL) return NPERR_I...
Bypass
0
g_NPN_PostURLNotify(NPP instance, const char *url, const char *target, uint32_t len, const char *buf, NPBool file, void *notifyData) { if (!thread_check()) { npw_printf("WARNING: NPN_PostURLNotify not called from the main thread\n"); return NPERR_INVALID_INSTANCE_ERROR; } if (instance == NULL) return NPERR_I...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,636
g_NPN_ReleaseObject(NPObject *npobj) { if (!thread_check()) { npw_printf("WARNING: NPN_ReleaseObject not called from the main thread\n"); return; } if (npobj == NULL) return; if (rpc_method_invoke_possible(g_rpc_connection)) { D(bug("NPN_ReleaseObject <now>\n")); g_NPN_ReleaseObject_Now(npobj); } el...
Bypass
0
g_NPN_ReleaseObject(NPObject *npobj) { if (!thread_check()) { npw_printf("WARNING: NPN_ReleaseObject not called from the main thread\n"); return; } if (npobj == NULL) return; if (rpc_method_invoke_possible(g_rpc_connection)) { D(bug("NPN_ReleaseObject <now>\n")); g_NPN_ReleaseObject_Now(npobj); } el...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,637
g_NPN_ReleaseObject_Delayed(NPObject *npobj) { delayed_calls_add(RPC_DELAYED_NPN_RELEASE_OBJECT, npobj); }
Bypass
0
g_NPN_ReleaseObject_Delayed(NPObject *npobj) { delayed_calls_add(RPC_DELAYED_NPN_RELEASE_OBJECT, npobj); }
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,638
g_NPN_ReleaseObject_Now(NPObject *npobj) { D(bugiI("NPN_ReleaseObject npobj=%p\n", npobj)); uint32_t refcount = invoke_NPN_ReleaseObject(npobj); D(bugiD("NPN_ReleaseObject done (refcount: %d)\n", refcount)); if ((npobj->referenceCount = refcount) == 0) npobject_destroy(npobj); }
Bypass
0
g_NPN_ReleaseObject_Now(NPObject *npobj) { D(bugiI("NPN_ReleaseObject npobj=%p\n", npobj)); uint32_t refcount = invoke_NPN_ReleaseObject(npobj); D(bugiD("NPN_ReleaseObject done (refcount: %d)\n", refcount)); if ((npobj->referenceCount = refcount) == 0) npobject_destroy(npobj); }
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,639
g_NPN_ReleaseVariantValue(NPVariant *variant) { D(bugiI("NPN_ReleaseVariantValue\n")); npvariant_clear(variant); D(bugiD("NPN_ReleaseVariantValue done\n")); }
Bypass
0
g_NPN_ReleaseVariantValue(NPVariant *variant) { D(bugiI("NPN_ReleaseVariantValue\n")); npvariant_clear(variant); D(bugiD("NPN_ReleaseVariantValue done\n")); }
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,640
g_NPN_ReloadPlugins(NPBool reloadPages) { D(bug("NPN_ReloadPlugins reloadPages=%d\n", reloadPages)); NPW_UNIMPLEMENTED(); }
Bypass
0
g_NPN_ReloadPlugins(NPBool reloadPages) { D(bug("NPN_ReloadPlugins reloadPages=%d\n", reloadPages)); NPW_UNIMPLEMENTED(); }
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,641
g_NPN_RemoveProperty(NPP instance, NPObject *npobj, NPIdentifier propertyName) { if (!thread_check()) { npw_printf("WARNING: NPN_RemoveProperty not called from the main thread\n"); return false; } if (instance == NULL) return false; PluginInstance *plugin = PLUGIN_INSTANCE(instance); if (plugin == NULL) ...
Bypass
0
g_NPN_RemoveProperty(NPP instance, NPObject *npobj, NPIdentifier propertyName) { if (!thread_check()) { npw_printf("WARNING: NPN_RemoveProperty not called from the main thread\n"); return false; } if (instance == NULL) return false; PluginInstance *plugin = PLUGIN_INSTANCE(instance); if (plugin == NULL) ...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,642
g_NPN_RequestRead(NPStream *stream, NPByteRange *rangeList) { if (!thread_check()) { npw_printf("WARNING: NPN_RequestRead not called from the main thread\n"); return NPERR_INVALID_INSTANCE_ERROR; } if (stream == NULL || stream->ndata == NULL || rangeList == NULL) return NPERR_INVALID_PARAM; D(bugiI("NPN_Re...
Bypass
0
g_NPN_RequestRead(NPStream *stream, NPByteRange *rangeList) { if (!thread_check()) { npw_printf("WARNING: NPN_RequestRead not called from the main thread\n"); return NPERR_INVALID_INSTANCE_ERROR; } if (stream == NULL || stream->ndata == NULL || rangeList == NULL) return NPERR_INVALID_PARAM; D(bugiI("NPN_Re...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,643
g_NPN_RetainObject(NPObject *npobj) { if (!thread_check()) { npw_printf("WARNING: NPN_RetainObject not called from the main thread\n"); return NULL; } if (npobj == NULL) return NULL; D(bugiI("NPN_RetainObject npobj=%p\n", npobj)); uint32_t refcount = invoke_NPN_RetainObject(npobj); D(bugiD("NPN_Retain...
Bypass
0
g_NPN_RetainObject(NPObject *npobj) { if (!thread_check()) { npw_printf("WARNING: NPN_RetainObject not called from the main thread\n"); return NULL; } if (npobj == NULL) return NULL; D(bugiI("NPN_RetainObject npobj=%p\n", npobj)); uint32_t refcount = invoke_NPN_RetainObject(npobj); D(bugiD("NPN_Retain...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,644
g_NPN_SetException(NPObject *npobj, const NPUTF8 *message) { if (!thread_check()) { npw_printf("WARNING: NPN_SetException not called from the main thread\n"); return; } D(bugiI("NPN_SetException npobj=%p, message='%s'\n", npobj, message)); invoke_NPN_SetException(npobj, message); D(bugiD("NPN_SetException ...
Bypass
0
g_NPN_SetException(NPObject *npobj, const NPUTF8 *message) { if (!thread_check()) { npw_printf("WARNING: NPN_SetException not called from the main thread\n"); return; } D(bugiI("NPN_SetException npobj=%p, message='%s'\n", npobj, message)); invoke_NPN_SetException(npobj, message); D(bugiD("NPN_SetException ...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,645
g_NPN_SetProperty(NPP instance, NPObject *npobj, NPIdentifier propertyName, const NPVariant *value) { if (!thread_check()) { npw_printf("WARNING: NPN_SetProperty not called from the main thread\n"); return false; } if (instance == NULL) return false; PluginInstance *plugin = PLUGIN_INSTANCE(instance)...
Bypass
0
g_NPN_SetProperty(NPP instance, NPObject *npobj, NPIdentifier propertyName, const NPVariant *value) { if (!thread_check()) { npw_printf("WARNING: NPN_SetProperty not called from the main thread\n"); return false; } if (instance == NULL) return false; PluginInstance *plugin = PLUGIN_INSTANCE(instance)...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,646
g_NPN_SetValue(NPP instance, NPPVariable variable, void *value) { if (!thread_check()) { npw_printf("WARNING: NPN_SetValue not called from the main thread\n"); return NPERR_INVALID_INSTANCE_ERROR; } if (instance == NULL) return NPERR_INVALID_INSTANCE_ERROR; PluginInstance *plugin = PLUGIN_INSTANCE(instance...
Bypass
0
g_NPN_SetValue(NPP instance, NPPVariable variable, void *value) { if (!thread_check()) { npw_printf("WARNING: NPN_SetValue not called from the main thread\n"); return NPERR_INVALID_INSTANCE_ERROR; } if (instance == NULL) return NPERR_INVALID_INSTANCE_ERROR; PluginInstance *plugin = PLUGIN_INSTANCE(instance...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,647
g_NPN_Status(NPP instance, const char *message) { if (!thread_check()) { npw_printf("WARNING: NPN_Status not called from the main thread\n"); return; } PluginInstance *plugin = NULL; if (instance) plugin = PLUGIN_INSTANCE(instance); D(bugiI("NPN_Status instance=%p, message='%s'\n", instance, message)); ...
Bypass
0
g_NPN_Status(NPP instance, const char *message) { if (!thread_check()) { npw_printf("WARNING: NPN_Status not called from the main thread\n"); return; } PluginInstance *plugin = NULL; if (instance) plugin = PLUGIN_INSTANCE(instance); D(bugiI("NPN_Status instance=%p, message='%s'\n", instance, message)); ...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,648
g_NPN_UserAgent(NPP instance) { if (!thread_check()) { npw_printf("WARNING: NPN_UserAgent not called from the main thread\n"); return NULL; } D(bugiI("NPN_UserAgent instance=%p\n", instance)); if (g_user_agent == NULL) g_user_agent = invoke_NPN_UserAgent(); D(bugiD("NPN_UserAgent return: '%s'\n", g_user_a...
Bypass
0
g_NPN_UserAgent(NPP instance) { if (!thread_check()) { npw_printf("WARNING: NPN_UserAgent not called from the main thread\n"); return NULL; } D(bugiI("NPN_UserAgent instance=%p\n", instance)); if (g_user_agent == NULL) g_user_agent = invoke_NPN_UserAgent(); D(bugiD("NPN_UserAgent return: '%s'\n", g_user_a...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,649
g_NPN_Write(NPP instance, NPStream *stream, int32_t len, void *buf) { if (!thread_check()) { npw_printf("WARNING: NPN_Write not called from the main thread\n"); return -1; } if (instance == NULL) return -1; PluginInstance *plugin = PLUGIN_INSTANCE(instance); if (plugin == NULL) return -1; if (strea...
Bypass
0
g_NPN_Write(NPP instance, NPStream *stream, int32_t len, void *buf) { if (!thread_check()) { npw_printf("WARNING: NPN_Write not called from the main thread\n"); return -1; } if (instance == NULL) return -1; PluginInstance *plugin = PLUGIN_INSTANCE(instance); if (plugin == NULL) return -1; if (strea...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,650
g_NPP_DestroyStream(NPP instance, NPStream *stream, NPReason reason) { if (instance == NULL) return NPERR_INVALID_INSTANCE_ERROR; if (plugin_funcs.destroystream == NULL) return NPERR_INVALID_FUNCTABLE_ERROR; if (stream == NULL) return NPERR_INVALID_PARAM; D(bugiI("NPP_DestroyStream instance=%p, stream=%p,...
Bypass
0
g_NPP_DestroyStream(NPP instance, NPStream *stream, NPReason reason) { if (instance == NULL) return NPERR_INVALID_INSTANCE_ERROR; if (plugin_funcs.destroystream == NULL) return NPERR_INVALID_FUNCTABLE_ERROR; if (stream == NULL) return NPERR_INVALID_PARAM; D(bugiI("NPP_DestroyStream instance=%p, stream=%p,...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,651
static NPError g_NPP_Destroy_Now(PluginInstance *plugin, NPSavedData **save) { D(bug("g_NPP_Destroy_Now\n")); NPSavedData *save_area = NULL; NPError ret = g_NPP_Destroy(PLUGIN_INSTANCE_NPP(plugin), &save_area); if (save) { *save = save_area; } else if (save_area) { npw_printf("WARNING: NPP_Destroy returned...
Bypass
0
static NPError g_NPP_Destroy_Now(PluginInstance *plugin, NPSavedData **save) { D(bug("g_NPP_Destroy_Now\n")); NPSavedData *save_area = NULL; NPError ret = g_NPP_Destroy(PLUGIN_INSTANCE_NPP(plugin), &save_area); if (save) { *save = save_area; } else if (save_area) { npw_printf("WARNING: NPP_Destroy returned...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,652
static NPError g_NPP_New(NPMIMEType plugin_type, uint32_t instance_id, uint16_t mode, int16_t argc, char *argn[], char *argv[], NPSavedData *saved) { PluginInstance *plugin = npw_plugin_instance_new(&PluginInstanceClass); if (plugin == NULL) return NPERR_OUT_OF_MEMORY_ERROR; plugin->instance_id = i...
Bypass
0
static NPError g_NPP_New(NPMIMEType plugin_type, uint32_t instance_id, uint16_t mode, int16_t argc, char *argn[], char *argv[], NPSavedData *saved) { PluginInstance *plugin = npw_plugin_instance_new(&PluginInstanceClass); if (plugin == NULL) return NPERR_OUT_OF_MEMORY_ERROR; plugin->instance_id = i...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,653
g_NPP_NewStream(NPP instance, NPMIMEType type, NPStream *stream, NPBool seekable, uint16_t *stype) { if (instance == NULL) return NPERR_INVALID_INSTANCE_ERROR; if (plugin_funcs.newstream == NULL) return NPERR_INVALID_FUNCTABLE_ERROR; D(bugiI("NPP_NewStream instance=%p, stream=%p, url='%s', type='%s', seekable...
Bypass
0
g_NPP_NewStream(NPP instance, NPMIMEType type, NPStream *stream, NPBool seekable, uint16_t *stype) { if (instance == NULL) return NPERR_INVALID_INSTANCE_ERROR; if (plugin_funcs.newstream == NULL) return NPERR_INVALID_FUNCTABLE_ERROR; D(bugiI("NPP_NewStream instance=%p, stream=%p, url='%s', type='%s', seekable...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,654
g_NPP_SetWindow(NPP instance, NPWindow *np_window) { if (instance == NULL) return NPERR_INVALID_INSTANCE_ERROR; PluginInstance *plugin = PLUGIN_INSTANCE(instance); if (plugin == NULL) return NPERR_INVALID_INSTANCE_ERROR; if (plugin_funcs.setwindow == NULL) return NPERR_INVALID_FUNCTABLE_ERROR; plugin->i...
Bypass
0
g_NPP_SetWindow(NPP instance, NPWindow *np_window) { if (instance == NULL) return NPERR_INVALID_INSTANCE_ERROR; PluginInstance *plugin = PLUGIN_INSTANCE(instance); if (plugin == NULL) return NPERR_INVALID_INSTANCE_ERROR; if (plugin_funcs.setwindow == NULL) return NPERR_INVALID_FUNCTABLE_ERROR; plugin->i...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,655
g_NPP_StreamAsFile(NPP instance, NPStream *stream, const char *fname) { if (instance == NULL) return; if (plugin_funcs.asfile == NULL) return; if (stream == NULL) return; D(bugiI("NPP_StreamAsFile instance=%p, stream=%p, fname='%s'\n", instance, stream, fname)); plugin_funcs.asfile(instance, stream, fna...
Bypass
0
g_NPP_StreamAsFile(NPP instance, NPStream *stream, const char *fname) { if (instance == NULL) return; if (plugin_funcs.asfile == NULL) return; if (stream == NULL) return; D(bugiI("NPP_StreamAsFile instance=%p, stream=%p, fname='%s'\n", instance, stream, fname)); plugin_funcs.asfile(instance, stream, fna...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,656
g_NPP_URLNotify(NPP instance, const char *url, NPReason reason, void *notifyData) { if (instance == NULL) return; if (plugin_funcs.urlnotify == NULL) return; D(bugiI("NPP_URLNotify instance=%p, url='%s', reason=%s, notifyData=%p\n", instance, url, string_of_NPReason(reason), notifyData)); plugin_funcs.url...
Bypass
0
g_NPP_URLNotify(NPP instance, const char *url, NPReason reason, void *notifyData) { if (instance == NULL) return; if (plugin_funcs.urlnotify == NULL) return; D(bugiI("NPP_URLNotify instance=%p, url='%s', reason=%s, notifyData=%p\n", instance, url, string_of_NPReason(reason), notifyData)); plugin_funcs.url...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,657
g_NPP_Write(NPP instance, NPStream *stream, int32_t offset, int32_t len, void *buf) { if (instance == NULL) return -1; if (plugin_funcs.write == NULL) return -1; if (stream == NULL) return -1; D(bugiI("NPP_Write instance=%p, stream=%p, offset=%d, len=%d, buf=%p\n", instance, stream, offset, len, buf)); ...
Bypass
0
g_NPP_Write(NPP instance, NPStream *stream, int32_t offset, int32_t len, void *buf) { if (instance == NULL) return -1; if (plugin_funcs.write == NULL) return -1; if (stream == NULL) return -1; D(bugiI("NPP_Write instance=%p, stream=%p, offset=%d, len=%d, buf=%p\n", instance, stream, offset, len, buf)); ...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,658
g_NPP_WriteReady(NPP instance, NPStream *stream) { if (instance == NULL) return 0; if (plugin_funcs.writeready == NULL) return 0; if (stream == NULL) return 0; D(bugiI("NPP_WriteReady instance=%p, stream=%p\n", instance, stream)); int32_t ret = plugin_funcs.writeready(instance, stream); D(bugiD("NPP_W...
Bypass
0
g_NPP_WriteReady(NPP instance, NPStream *stream) { if (instance == NULL) return 0; if (plugin_funcs.writeready == NULL) return 0; if (stream == NULL) return 0; D(bugiI("NPP_WriteReady instance=%p, stream=%p\n", instance, stream)); int32_t ret = plugin_funcs.writeready(instance, stream); D(bugiD("NPP_W...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,659
g_NP_GetMIMEDescription(void) { if (g_plugin_NP_GetMIMEDescription == NULL) return NULL; D(bugiI("NP_GetMIMEDescription\n")); char *str = g_plugin_NP_GetMIMEDescription(); D(bugiD("NP_GetMIMEDescription return: %s\n", str ? str : "<empty>")); return str; }
Bypass
0
g_NP_GetMIMEDescription(void) { if (g_plugin_NP_GetMIMEDescription == NULL) return NULL; D(bugiI("NP_GetMIMEDescription\n")); char *str = g_plugin_NP_GetMIMEDescription(); D(bugiD("NP_GetMIMEDescription return: %s\n", str ? str : "<empty>")); return str; }
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,660
g_NP_Shutdown(void) { if (g_plugin_NP_Shutdown == NULL) return NPERR_INVALID_FUNCTABLE_ERROR; D(bugiI("NP_Shutdown\n")); NPError ret = g_plugin_NP_Shutdown(); D(bugiD("NP_Shutdown done\n")); if (NPN_HAS_FEATURE(NPRUNTIME_SCRIPTING)) npobject_bridge_destroy(); gtk_main_quit(); return ret; }
Bypass
0
g_NP_Shutdown(void) { if (g_plugin_NP_Shutdown == NULL) return NPERR_INVALID_FUNCTABLE_ERROR; D(bugiI("NP_Shutdown\n")); NPError ret = g_plugin_NP_Shutdown(); D(bugiD("NP_Shutdown done\n")); if (NPN_HAS_FEATURE(NPRUNTIME_SCRIPTING)) npobject_bridge_destroy(); gtk_main_quit(); return ret; }
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,661
static int get_appcontext_input_count(void) { static int input_count_offset = -1; if (input_count_offset < 0) input_count_offset = get_appcontext_input_count_offset(); if (input_count_offset == 0) return 1; /* fake we have input to trigger timeout */ return get_appcontext_input_count_at(input_count_offset); }...
Bypass
0
static int get_appcontext_input_count(void) { static int input_count_offset = -1; if (input_count_offset < 0) input_count_offset = get_appcontext_input_count_offset(); if (input_count_offset == 0) return 1; /* fake we have input to trigger timeout */ return get_appcontext_input_count_at(input_count_offset); }...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,662
static inline int get_appcontext_input_count_at(int offset) { return *((short *)((char *)x_app_context + offset)); }
Bypass
0
static inline int get_appcontext_input_count_at(int offset) { return *((short *)((char *)x_app_context + offset)); }
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,663
static int get_appcontext_input_count_offset(void) { #define low_offset offsetof(struct _XtAppStruct, __maxed__nfds) #define high_offset offsetof(struct _XtAppStruct, __maybe__input_max) #define n_offsets_max (high_offset - low_offset)/2 int i, ofs, n_offsets = 0; int offsets[n_offsets_max] = { 0, }; #define n_i...
Bypass
0
static int get_appcontext_input_count_offset(void) { #define low_offset offsetof(struct _XtAppStruct, __maxed__nfds) #define high_offset offsetof(struct _XtAppStruct, __maybe__input_max) #define n_offsets_max (high_offset - low_offset)/2 int i, ofs, n_offsets = 0; int offsets[n_offsets_max] = { 0, }; #define n_i...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,664
static int handle_NPP_Destroy(rpc_connection_t *connection) { D(bug("handle_NPP_Destroy\n")); int error; PluginInstance *plugin; error = rpc_method_get_args(connection, RPC_TYPE_NPW_PLUGIN_INSTANCE, &plugin, RPC_TYPE_INVALID); if (error != RPC_ERROR_NO_ERROR) { npw_perror("NPP_Destroy() g...
Bypass
0
static int handle_NPP_Destroy(rpc_connection_t *connection) { D(bug("handle_NPP_Destroy\n")); int error; PluginInstance *plugin; error = rpc_method_get_args(connection, RPC_TYPE_NPW_PLUGIN_INSTANCE, &plugin, RPC_TYPE_INVALID); if (error != RPC_ERROR_NO_ERROR) { npw_perror("NPP_Destroy() g...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,665
static int handle_NPP_DestroyStream(rpc_connection_t *connection) { D(bug("handle_NPP_DestroyStream\n")); PluginInstance *plugin; NPStream *stream; int32_t reason; int error = rpc_method_get_args(connection, RPC_TYPE_NPW_PLUGIN_INSTANCE, &plugin, RPC_TYPE_NP_STREAM, &stream, RPC...
Bypass
0
static int handle_NPP_DestroyStream(rpc_connection_t *connection) { D(bug("handle_NPP_DestroyStream\n")); PluginInstance *plugin; NPStream *stream; int32_t reason; int error = rpc_method_get_args(connection, RPC_TYPE_NPW_PLUGIN_INSTANCE, &plugin, RPC_TYPE_NP_STREAM, &stream, RPC...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,666
static int handle_NPP_GetValue(rpc_connection_t *connection) { D(bug("handle_NPP_GetValue\n")); int error; PluginInstance *plugin; int32_t variable; error = rpc_method_get_args(connection, RPC_TYPE_NPW_PLUGIN_INSTANCE, &plugin, RPC_TYPE_INT32, &variable, RPC_TYPE_INVALID); if (...
Bypass
0
static int handle_NPP_GetValue(rpc_connection_t *connection) { D(bug("handle_NPP_GetValue\n")); int error; PluginInstance *plugin; int32_t variable; error = rpc_method_get_args(connection, RPC_TYPE_NPW_PLUGIN_INSTANCE, &plugin, RPC_TYPE_INT32, &variable, RPC_TYPE_INVALID); if (...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,667
static int handle_NPP_New(rpc_connection_t *connection) { D(bug("handle_NPP_New\n")); rpc_connection_ref(connection); uint32_t instance_id; NPMIMEType plugin_type; int32_t mode; int argn_count, argv_count; char **argn, **argv; NPSavedData *saved; int error = rpc_method_get_args(connection, ...
Bypass
0
static int handle_NPP_New(rpc_connection_t *connection) { D(bug("handle_NPP_New\n")); rpc_connection_ref(connection); uint32_t instance_id; NPMIMEType plugin_type; int32_t mode; int argn_count, argv_count; char **argn, **argv; NPSavedData *saved; int error = rpc_method_get_args(connection, ...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,668
static int handle_NPP_NewStream(rpc_connection_t *connection) { D(bug("handle_NPP_NewStream\n")); int error; PluginInstance *plugin; uint32_t stream_id; uint32_t seekable; NPMIMEType type; NPStream *stream; if ((stream = malloc(sizeof(*stream))) == NULL) return RPC_ERROR_NO_MEMORY; memset(stream, 0...
Bypass
0
static int handle_NPP_NewStream(rpc_connection_t *connection) { D(bug("handle_NPP_NewStream\n")); int error; PluginInstance *plugin; uint32_t stream_id; uint32_t seekable; NPMIMEType type; NPStream *stream; if ((stream = malloc(sizeof(*stream))) == NULL) return RPC_ERROR_NO_MEMORY; memset(stream, 0...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,669
static int handle_NPP_Print(rpc_connection_t *connection) { D(bug("handle_NPP_Print\n")); PluginInstance *plugin; NPPrint printInfo; uint32_t platform_print_id; int error = rpc_method_get_args(connection, RPC_TYPE_NPW_PLUGIN_INSTANCE, &plugin, RPC_TYPE_UINT32, &platform_print_id, ...
Bypass
0
static int handle_NPP_Print(rpc_connection_t *connection) { D(bug("handle_NPP_Print\n")); PluginInstance *plugin; NPPrint printInfo; uint32_t platform_print_id; int error = rpc_method_get_args(connection, RPC_TYPE_NPW_PLUGIN_INSTANCE, &plugin, RPC_TYPE_UINT32, &platform_print_id, ...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,670
static int handle_NPP_SetWindow(rpc_connection_t *connection) { D(bug("handle_NPP_SetWindow\n")); int error; PluginInstance *plugin; NPWindow *window; error = rpc_method_get_args(connection, RPC_TYPE_NPW_PLUGIN_INSTANCE, &plugin, RPC_TYPE_NP_WINDOW, &window, RPC_TYPE_INVALID); ...
Bypass
0
static int handle_NPP_SetWindow(rpc_connection_t *connection) { D(bug("handle_NPP_SetWindow\n")); int error; PluginInstance *plugin; NPWindow *window; error = rpc_method_get_args(connection, RPC_TYPE_NPW_PLUGIN_INSTANCE, &plugin, RPC_TYPE_NP_WINDOW, &window, RPC_TYPE_INVALID); ...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,671
static int handle_NPP_StreamAsFile(rpc_connection_t *connection) { D(bug("handle_NPP_StreamAsFile\n")); PluginInstance *plugin; NPStream *stream; char *fname; int error = rpc_method_get_args(connection, RPC_TYPE_NPW_PLUGIN_INSTANCE, &plugin, RPC_TYPE_NP_STREAM, &stream, RPC_TYPE...
Bypass
0
static int handle_NPP_StreamAsFile(rpc_connection_t *connection) { D(bug("handle_NPP_StreamAsFile\n")); PluginInstance *plugin; NPStream *stream; char *fname; int error = rpc_method_get_args(connection, RPC_TYPE_NPW_PLUGIN_INSTANCE, &plugin, RPC_TYPE_NP_STREAM, &stream, RPC_TYPE...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,672
static int handle_NPP_URLNotify(rpc_connection_t *connection) { D(bug("handle_NPP_URLNotify\n")); int error; PluginInstance *plugin; char *url; int32_t reason; void *notifyData; error = rpc_method_get_args(connection, RPC_TYPE_NPW_PLUGIN_INSTANCE, &plugin, RPC_TYPE_STRING, &url, ...
Bypass
0
static int handle_NPP_URLNotify(rpc_connection_t *connection) { D(bug("handle_NPP_URLNotify\n")); int error; PluginInstance *plugin; char *url; int32_t reason; void *notifyData; error = rpc_method_get_args(connection, RPC_TYPE_NPW_PLUGIN_INSTANCE, &plugin, RPC_TYPE_STRING, &url, ...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,673
static int handle_NPP_Write(rpc_connection_t *connection) { D(bug("handle_NPP_Write\n")); PluginInstance *plugin; NPStream *stream; unsigned char *buf; int32_t offset, len; int error = rpc_method_get_args(connection, RPC_TYPE_NPW_PLUGIN_INSTANCE, &plugin, RPC_TYPE_NP_STREAM, &stream, ...
Bypass
0
static int handle_NPP_Write(rpc_connection_t *connection) { D(bug("handle_NPP_Write\n")); PluginInstance *plugin; NPStream *stream; unsigned char *buf; int32_t offset, len; int error = rpc_method_get_args(connection, RPC_TYPE_NPW_PLUGIN_INSTANCE, &plugin, RPC_TYPE_NP_STREAM, &stream, ...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,674
static int handle_NPP_WriteReady(rpc_connection_t *connection) { D(bug("handle_NPP_WriteReady\n")); PluginInstance *plugin; NPStream *stream; int error = rpc_method_get_args(connection, RPC_TYPE_NPW_PLUGIN_INSTANCE, &plugin, RPC_TYPE_NP_STREAM, &stream, RPC_TYPE_INVALID); if (e...
Bypass
0
static int handle_NPP_WriteReady(rpc_connection_t *connection) { D(bug("handle_NPP_WriteReady\n")); PluginInstance *plugin; NPStream *stream; int error = rpc_method_get_args(connection, RPC_TYPE_NPW_PLUGIN_INSTANCE, &plugin, RPC_TYPE_NP_STREAM, &stream, RPC_TYPE_INVALID); if (e...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,675
static int handle_NP_GetMIMEDescription(rpc_connection_t *connection) { D(bug("handle_NP_GetMIMEDescription\n")); int error = rpc_method_get_args(connection, RPC_TYPE_INVALID); if (error != RPC_ERROR_NO_ERROR) { npw_perror("NP_GetMIMEDescription() get args", error); return error; } char *str = g_NP_GetMIM...
Bypass
0
static int handle_NP_GetMIMEDescription(rpc_connection_t *connection) { D(bug("handle_NP_GetMIMEDescription\n")); int error = rpc_method_get_args(connection, RPC_TYPE_INVALID); if (error != RPC_ERROR_NO_ERROR) { npw_perror("NP_GetMIMEDescription() get args", error); return error; } char *str = g_NP_GetMIM...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,676
static int handle_NP_GetValue(rpc_connection_t *connection) { D(bug("handle_NP_GetValue\n")); int32_t variable; int error = rpc_method_get_args(connection, RPC_TYPE_INT32, &variable, RPC_TYPE_INVALID); if (error != RPC_ERROR_NO_ERROR) { npw_perror("NP_GetValue() get args", error); return error; } NPErro...
Bypass
0
static int handle_NP_GetValue(rpc_connection_t *connection) { D(bug("handle_NP_GetValue\n")); int32_t variable; int error = rpc_method_get_args(connection, RPC_TYPE_INT32, &variable, RPC_TYPE_INVALID); if (error != RPC_ERROR_NO_ERROR) { npw_perror("NP_GetValue() get args", error); return error; } NPErro...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,677
static int handle_NP_Initialize(rpc_connection_t *connection) { D(bug("handle_NP_Initialize\n")); uint32_t version; int error = rpc_method_get_args(connection, RPC_TYPE_UINT32, &version, RPC_TYPE_INVALID); if (error != RPC_ERROR_NO_ERROR) { npw_perror("NP_Initialize() get args", error); ...
Bypass
0
static int handle_NP_Initialize(rpc_connection_t *connection) { D(bug("handle_NP_Initialize\n")); uint32_t version; int error = rpc_method_get_args(connection, RPC_TYPE_UINT32, &version, RPC_TYPE_INVALID); if (error != RPC_ERROR_NO_ERROR) { npw_perror("NP_Initialize() get args", error); ...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,678
invoke_NPN_CreateObject(PluginInstance *plugin) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), 0); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_CREATE_OBJECT, RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin, RPC_TYPE_INVALID); if (error != RPC_ERROR_NO_ERRO...
Bypass
0
invoke_NPN_CreateObject(PluginInstance *plugin) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), 0); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_CREATE_OBJECT, RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin, RPC_TYPE_INVALID); if (error != RPC_ERROR_NO_ERRO...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,679
invoke_NPN_Evaluate(PluginInstance *plugin, NPObject *npobj, NPString *script, NPVariant *result) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), false); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_EVALUATE, RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin, RPC...
Bypass
0
invoke_NPN_Evaluate(PluginInstance *plugin, NPObject *npobj, NPString *script, NPVariant *result) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), false); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_EVALUATE, RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin, RPC...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,680
invoke_NPN_GetStringIdentifier(const NPUTF8 *name) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), NULL); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_GET_STRING_IDENTIFIER, RPC_TYPE_STRING, name, RPC_TYPE_INVALID); if (error != RPC_ERROR_NO_ERROR...
Bypass
0
invoke_NPN_GetStringIdentifier(const NPUTF8 *name) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), NULL); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_GET_STRING_IDENTIFIER, RPC_TYPE_STRING, name, RPC_TYPE_INVALID); if (error != RPC_ERROR_NO_ERROR...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,681
invoke_NPN_GetStringIdentifiers(const NPUTF8 **names, int32_t nameCount, NPIdentifier *identifiers) { npw_return_if_fail(rpc_method_invoke_possible(g_rpc_connection)); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_GET_STRING_IDENTIFIERS, RPC_TYPE_ARRAY, RPC_TYPE_STRING, nameCount, ...
Bypass
0
invoke_NPN_GetStringIdentifiers(const NPUTF8 **names, int32_t nameCount, NPIdentifier *identifiers) { npw_return_if_fail(rpc_method_invoke_possible(g_rpc_connection)); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_GET_STRING_IDENTIFIERS, RPC_TYPE_ARRAY, RPC_TYPE_STRING, nameCount, ...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,682
invoke_NPN_GetURL(PluginInstance *plugin, const char *url, const char *target) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), NPERR_GENERIC_ERROR); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_GET_URL, RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin, RP...
Bypass
0
invoke_NPN_GetURL(PluginInstance *plugin, const char *url, const char *target) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), NPERR_GENERIC_ERROR); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_GET_URL, RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin, RP...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,683
invoke_NPN_GetValue(PluginInstance *plugin, NPNVariable variable, void *value) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), NPERR_GENERIC_ERROR); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_GET_VALUE, RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin, ...
Bypass
0
invoke_NPN_GetValue(PluginInstance *plugin, NPNVariable variable, void *value) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), NPERR_GENERIC_ERROR); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_GET_VALUE, RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin, ...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,684
invoke_NPN_HasMethod(PluginInstance *plugin, NPObject *npobj, NPIdentifier methodName) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), false); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_HAS_METHOD, RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin, RPC_TYPE_NP_...
Bypass
0
invoke_NPN_HasMethod(PluginInstance *plugin, NPObject *npobj, NPIdentifier methodName) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), false); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_HAS_METHOD, RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin, RPC_TYPE_NP_...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,685
invoke_NPN_HasProperty(PluginInstance *plugin, NPObject *npobj, NPIdentifier propertyName) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), false); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_HAS_PROPERTY, RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin, RPC_TY...
Bypass
0
invoke_NPN_HasProperty(PluginInstance *plugin, NPObject *npobj, NPIdentifier propertyName) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), false); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_HAS_PROPERTY, RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin, RPC_TY...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,686
invoke_NPN_IdentifierIsString(NPIdentifier identifier) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), false); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_IDENTIFIER_IS_STRING, RPC_TYPE_NP_IDENTIFIER, &identifier, RPC_TYPE_INVALID); if (error != ...
Bypass
0
invoke_NPN_IdentifierIsString(NPIdentifier identifier) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), false); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_IDENTIFIER_IS_STRING, RPC_TYPE_NP_IDENTIFIER, &identifier, RPC_TYPE_INVALID); if (error != ...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,687
invoke_NPN_InvalidateRect(PluginInstance *plugin, NPRect *invalidRect) { npw_return_if_fail(rpc_method_invoke_possible(g_rpc_connection)); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_INVALIDATE_RECT, RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin, RPC_TYPE_NP_RECT, invalidRect, ...
Bypass
0
invoke_NPN_InvalidateRect(PluginInstance *plugin, NPRect *invalidRect) { npw_return_if_fail(rpc_method_invoke_possible(g_rpc_connection)); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_INVALIDATE_RECT, RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin, RPC_TYPE_NP_RECT, invalidRect, ...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,688
invoke_NPN_InvokeDefault(PluginInstance *plugin, NPObject *npobj, const NPVariant *args, uint32_t argCount, NPVariant *result) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), false); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_INVOKE_DEFAULT, RPC_TYP...
Bypass
0
invoke_NPN_InvokeDefault(PluginInstance *plugin, NPObject *npobj, const NPVariant *args, uint32_t argCount, NPVariant *result) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), false); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_INVOKE_DEFAULT, RPC_TYP...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,689
invoke_NPN_NewStream(PluginInstance *plugin, NPMIMEType type, const char *target, NPStream **pstream) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), NPERR_GENERIC_ERROR); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_NEW_STREAM, RPC_TYPE_NPW_PLUGIN_IN...
Bypass
0
invoke_NPN_NewStream(PluginInstance *plugin, NPMIMEType type, const char *target, NPStream **pstream) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), NPERR_GENERIC_ERROR); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_NEW_STREAM, RPC_TYPE_NPW_PLUGIN_IN...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,690
invoke_NPN_PopPopupsEnabledState(PluginInstance *plugin) { npw_return_if_fail(rpc_method_invoke_possible(g_rpc_connection)); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_POP_POPUPS_ENABLED_STATE, RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin, RPC_TYPE_INVALID); if (error != RPC_...
Bypass
0
invoke_NPN_PopPopupsEnabledState(PluginInstance *plugin) { npw_return_if_fail(rpc_method_invoke_possible(g_rpc_connection)); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_POP_POPUPS_ENABLED_STATE, RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin, RPC_TYPE_INVALID); if (error != RPC_...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,691
invoke_NPN_PostURL(PluginInstance *plugin, const char *url, const char *target, uint32_t len, const char *buf, NPBool file) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), NPERR_GENERIC_ERROR); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_POST_URL, RP...
Bypass
0
invoke_NPN_PostURL(PluginInstance *plugin, const char *url, const char *target, uint32_t len, const char *buf, NPBool file) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), NPERR_GENERIC_ERROR); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_POST_URL, RP...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,692
invoke_NPN_PostURLNotify(PluginInstance *plugin, const char *url, const char *target, uint32_t len, const char *buf, NPBool file, void *notifyData) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), NPERR_GENERIC_ERROR); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_...
Bypass
0
invoke_NPN_PostURLNotify(PluginInstance *plugin, const char *url, const char *target, uint32_t len, const char *buf, NPBool file, void *notifyData) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), NPERR_GENERIC_ERROR); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,693
invoke_NPN_PrintData(PluginInstance *plugin, uint32_t platform_print_id, NPPrintData *printData) { if (printData == NULL) return; npw_return_if_fail(rpc_method_invoke_possible(g_rpc_connection)); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_PRINT_DATA, RPC_TYPE_UINT32, platfor...
Bypass
0
invoke_NPN_PrintData(PluginInstance *plugin, uint32_t platform_print_id, NPPrintData *printData) { if (printData == NULL) return; npw_return_if_fail(rpc_method_invoke_possible(g_rpc_connection)); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_PRINT_DATA, RPC_TYPE_UINT32, platfor...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,694
invoke_NPN_PushPopupsEnabledState(PluginInstance *plugin, NPBool enabled) { npw_return_if_fail(rpc_method_invoke_possible(g_rpc_connection)); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_PUSH_POPUPS_ENABLED_STATE, RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin, RPC_TYPE_UINT32, (uin...
Bypass
0
invoke_NPN_PushPopupsEnabledState(PluginInstance *plugin, NPBool enabled) { npw_return_if_fail(rpc_method_invoke_possible(g_rpc_connection)); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_PUSH_POPUPS_ENABLED_STATE, RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin, RPC_TYPE_UINT32, (uin...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,695
invoke_NPN_ReleaseObject(NPObject *npobj) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), npobj->referenceCount); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_RELEASE_OBJECT, RPC_TYPE_NP_OBJECT, npobj, RPC_TYPE_INVALID); if (error != RPC_ER...
Bypass
0
invoke_NPN_ReleaseObject(NPObject *npobj) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), npobj->referenceCount); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_RELEASE_OBJECT, RPC_TYPE_NP_OBJECT, npobj, RPC_TYPE_INVALID); if (error != RPC_ER...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,696
invoke_NPN_RemoveProperty(PluginInstance *plugin, NPObject *npobj, NPIdentifier propertyName) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), false); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_REMOVE_PROPERTY, RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin, ...
Bypass
0
invoke_NPN_RemoveProperty(PluginInstance *plugin, NPObject *npobj, NPIdentifier propertyName) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), false); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_REMOVE_PROPERTY, RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin, ...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,697
invoke_NPN_RequestRead(NPStream *stream, NPByteRange *rangeList) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), NPERR_GENERIC_ERROR); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_REQUEST_READ, RPC_TYPE_NP_STREAM, stream, RPC_TYPE_NP_BYTE_RANG...
Bypass
0
invoke_NPN_RequestRead(NPStream *stream, NPByteRange *rangeList) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), NPERR_GENERIC_ERROR); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_REQUEST_READ, RPC_TYPE_NP_STREAM, stream, RPC_TYPE_NP_BYTE_RANG...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,698
invoke_NPN_RetainObject(NPObject *npobj) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), npobj->referenceCount); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_RETAIN_OBJECT, RPC_TYPE_NP_OBJECT, npobj, RPC_TYPE_INVALID); if (error != RPC_ERRO...
Bypass
0
invoke_NPN_RetainObject(NPObject *npobj) { npw_return_val_if_fail(rpc_method_invoke_possible(g_rpc_connection), npobj->referenceCount); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_RETAIN_OBJECT, RPC_TYPE_NP_OBJECT, npobj, RPC_TYPE_INVALID); if (error != RPC_ERRO...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null
21,699
invoke_NPN_SetException(NPObject *npobj, const NPUTF8 *message) { npw_return_if_fail(rpc_method_invoke_possible(g_rpc_connection)); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_SET_EXCEPTION, RPC_TYPE_NP_OBJECT, npobj, RPC_TYPE_STRING, message, RPC_TYPE_INVALID); ...
Bypass
0
invoke_NPN_SetException(NPObject *npobj, const NPUTF8 *message) { npw_return_if_fail(rpc_method_invoke_possible(g_rpc_connection)); int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_SET_EXCEPTION, RPC_TYPE_NP_OBJECT, npobj, RPC_TYPE_STRING, message, RPC_TYPE_INVALID); ...
@@ -1302,6 +1302,8 @@ g_NPN_GetValue(NPP instance, NPNVariable variable, void *value) case NPNVSupportsXEmbedBool: case NPNVWindowNPObject: case NPNVPluginElementNPObject: + case NPNVprivateModeBool: + case NPNVsupportsAdvancedKeyHandling: return g_NPN_GetValue_real(instance, variable, value); default: ...
CWE-264
null
null