func_before
stringlengths
12
22.8k
func_after
stringlengths
11
24.7k
commit_msg
stringlengths
1
32.6k
commit_url
stringlengths
48
124
cve_id
stringclasses
530 values
cwe_id
stringclasses
134 values
file_name
stringlengths
4
244
vulnerability_score
int64
0
4
extension
stringclasses
6 values
is_test
bool
1 class
date
stringdate
1999-11-10 02:42:49
2024-01-29 16:00:57
function h(n,t){for(var r=-1,e=null==n?0:n.length;++r<e;)if(t(n[r],r,n))return true;return false}
function h(n,t){for(var r=-1,e=null==n?0:n.length;++r<e;)if(t(n[r],r,n))return!0;return!1}
Update vendor libs
https://github.com/cockpit-hq/cockpit/commit/690016208850f2d788ebc3c67884d4c692587eb8
CVE-2023-1160
['CWE-1103']
modules/App/assets/vendor/lodash.js
0
js
false
2023-02-22T01:10:02Z
private CompletableFuture<String> authorize() { HttpClient.DerivedClientBuilder builder = client.newBuilder(); builder.addOrReplaceInterceptor(TokenRefreshInterceptor.NAME, null); HttpClient clone = builder.build(); URL url; try { url = new URL(URLUtils.join(config.getMasterUrl(), AUTHORIZATI...
private CompletableFuture<String> authorize() { HttpClient.DerivedClientBuilder builder = client.newBuilder(); builder.addOrReplaceInterceptor(TokenRefreshInterceptor.NAME, null); HttpClient clone = builder.build(); URL url; try { url = new URL(URLUtils.join(config.getMasterUrl(), AUTHORIZATI...
review: address comments regarding test scenarios for PATCH Signed-off-by: Marc Nuri <marc@marcnuri.com>
https://github.com/fabric8io/kubernetes-client/commit/88a9dde129610a174fa801eedcb0e87395138e70
null
null
openshift-client/src/main/java/io/fabric8/openshift/client/internal/OpenShiftOAuthInterceptor.java
0
java
false
2022-12-20T15:30:05Z
function m(u,F){G=!1;var C=null!=u.Text&&u.Text.t?u.Text:null!=u.Value&&u.Value.t?u.Value: null!=u.Lane_0&&u.Lane_0.t?u.Lane_0:null;null==C&&null!=u.State?u.State.t&&(C=u.State):null==C&&null!=u.Note?u.Note.t&&(C=u.Note):null==C&&null!=u.Title?u.Title.t&&(C=u.Title):u.t&&(C=u);null==C&&null!=u.TextAreas?null!=u.TextAre...
function m(u,F){G=!1;var D=null!=u.Text&&u.Text.t?u.Text:null!=u.Value&&u.Value.t?u.Value: null!=u.Lane_0&&u.Lane_0.t?u.Lane_0:null;null==D&&null!=u.State?u.State.t&&(D=u.State):null==D&&null!=u.Note?u.Note.t&&(D=u.Note):null==D&&null!=u.Title?u.Title.t&&(D=u.Title):u.t&&(D=u);null==D&&null!=u.TextAreas?null!=u.TextAre...
21.6.3 release
https://github.com/jgraph/drawio/commit/1db2c2c653aa245d175d30c210239e3946bfcb95
CVE-2023-3973
['CWE-79']
src/main/webapp/js/extensions.min.js
0
js
false
2023-07-18T17:20:28Z
void registerServer() { VersionAgnosticCommandManager.get().registerServerCommand( CommandManager.literal(Modget.NAMESPACE_SERVER) .then(CommandManager.literal(COMMAND_PARTS[0]) .then(CommandManager.literal(COMMAND_PARTS[1]) .then(CommandMa...
void registerServer() { VersionAgnosticServerCommandManager.get().register( CommandManager.literal(Modget.NAMESPACE_SERVER) .then(CommandManager.literal(COMMAND_PARTS[0]) .then(CommandManager.literal(COMMAND_PARTS[1]) .then(CommandManager.a...
Don't upload modget-core build artifacts
https://github.com/ReviversMC/modget-minecraft/commit/17f5235f98d112ceb086533d1c4901e7a2a3fce9
null
null
modget-core/src/main/java/com/github/reviversmc/modget/minecraft/command/ReposAddCommand.java
0
java
false
2022-08-12T14:50:34Z
@Override public void run() { // The first time running this, need to setup the block list if a reset: if ( position == 0 ) { if ( runSetupCancelAutoResets() ) { // If the reset should be canceled then just return, and that will // terminate the reset. There is nothing else that needs to be done. ...
@Override public void run() { // The first time running this, need to setup the block list if a reset: if ( position == 0 ) { if ( runSetupCancelAutoResets() ) { // If the reset should be canceled then just return, and that will // terminate the reset. There is nothing else that needs to be done. ...
Mine resets: Fixed an issue when dealing with zero-block resets on a very small mine, such as a one block mine in that the 5 second delay was preventing from rapid resets. Bypass both 5 second cooldown on resets and blockmatching when 25 blocks or less for the mine size. With running resets in async mode, with rapid re...
https://github.com/PrisonTeam/Prison/commit/a91dbdae13c0bf0874a9d6af970684f0b028a8ae
null
null
prison-mines/src/main/java/tech/mcprison/prison/mines/tasks/MinePagedResetAsyncTask.java
0
java
false
2022-06-20T05:07:28Z
function ViewConsumable() { Object(_var_www_lime25_limesurvey_assets_packages_questiongroup_node_modules_babel_runtime_corejs2_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_7__["default"])(this, ViewConsumable); /** * Map of consumable elements. If {@link module:engine/view/element~Element element} ...
function ViewConsumable() { Object(_var_www_limedev_assets_packages_questiongroup_node_modules_babel_runtime_corejs2_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_7__["default"])(this, ViewConsumable); /** * Map of consumable elements. If {@link module:engine/view/element~Element element} is used as...
DEV: changed routes in vue.js part questiongroupedit.js and deleted old controller+views
https://github.com/LimeSurvey/LimeSurvey/commit/d7a309bf1a73e95187528982b9db7ec03fee6913
CVE-2020-23710
['CWE-79']
assets/packages/questiongroup/build/js/questiongroupedit.js
0
js
false
2020-06-08T09:23:29Z
public void seslInitConfigurations(Context var1) { ViewConfiguration var2 = ViewConfiguration.get(var1); Resources var3 = var1.getResources(); this.mTouchSlop = var2.getScaledTouchSlop(); this.mSeslTouchSlop = var2.getScaledTouchSlop(); this.mSeslPagingTouchSlop = var2.getScaledP...
public void seslInitConfigurations(Context var1) { ViewConfiguration var2 = ViewConfiguration.get(var1); Resources var3 = var1.getResources(); this.mTouchSlop = var2.getScaledTouchSlop(); this.mSeslTouchSlop = var2.getScaledTouchSlop(); this.mSeslPagingTouchSlop = var2.getScaledP...
app: OneUI 4 DetailedColorPicker, GoToTop, Preference text size (#62) * app: OneUI 4 DetailedColorPicker, GoToTop, Preference text size Signed-off-by: BlackMesa123 <giangrecosalvo9@gmail.com> * app: fix SwipeRefreshLayout scale down anim, night mode DetailedColorPicker tabs Signed-off-by: BlackMesa123 <giangrecosal...
https://github.com/OneUIProject/OneUI-Design-Library/commit/7d82261d6821ece4c02d4e8157560a41156436eb
null
null
yanndroid/oneui/src/main/java/de/dlyt/yanndroid/oneui/view/RecyclerView.java
0
java
false
null
function updateRole(userId, meetingId, role) { check(userId, String); check(meetingId, String); check(role, String); const selector = { userId, meetingId, }; const modifier = { $set: { role, }, }; try { UsersPersistentData.update(selector, modifier); } catch (err) { Lo...
async function updateRole(userId, meetingId, role) { check(userId, String); check(meetingId, String); check(role, String); const selector = { userId, meetingId, }; const modifier = { $set: { role, }, }; try { await UsersPersistentData.updateAsync(selector, modifier); } cat...
Merge branch 'v2.6.x-release' of github.com:bigbluebutton/bigbluebutton into ssrf-fix
https://github.com/bigbluebutton/bigbluebutton/commit/22de2b49a5d218910923a1048bb73395e53c99bf
CVE-2023-33176
['CWE-918']
bigbluebutton-html5/imports/api/users-persistent-data/server/modifiers/updateRole.js
0
js
false
2023-04-13T12:40:07Z
def invoke_defer_method(self): """Method to easily redefine triggers which are being used in child classes.""" trigger_start_time = utcnow() self.defer( trigger=KubernetesPodTrigger( pod_name=self.pod.metadata.name, pod_namespace=self.pod.metadata.name...
def invoke_defer_method(self): """Method to easily redefine triggers which are being used in child classes.""" trigger_start_time = utcnow() self.defer( trigger=KubernetesPodTrigger( pod_name=self.pod.metadata.name, pod_namespace=self.pod.metadata.name...
load the config file in the triggerer instead of loading it in the worker and pass it as a dict
https://github.com/apache/airflow/commit/e7b0e39557602ae215cc8722a97ec6b43df1c3ab
null
null
airflow/providers/cncf/kubernetes/operators/kubernetes_pod.py
0
py
false
2023-02-21T00:28:45Z
function ImageTextAlternativeEditing() { Object(_var_www_lime25_limesurvey_assets_packages_questiongroup_node_modules_babel_runtime_corejs2_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, ImageTextAlternativeEditing); return Object(_var_www_lime25_limesurvey_assets_packages_questiongr...
function ImageTextAlternativeEditing() { Object(_var_www_limedev_assets_packages_questiongroup_node_modules_babel_runtime_corejs2_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, ImageTextAlternativeEditing); return Object(_var_www_limedev_assets_packages_questiongroup_node_modules_bab...
DEV: changed routes in vue.js part questiongroupedit.js and deleted old controller+views
https://github.com/LimeSurvey/LimeSurvey/commit/d7a309bf1a73e95187528982b9db7ec03fee6913
CVE-2020-23710
['CWE-79']
assets/packages/questiongroup/build/js/questiongroupedit.js
0
js
false
2020-06-08T09:23:29Z
def latest_partition( cls, table_name: str, schema: Optional[str], database: Database, show_first: bool = False, ) -> Tuple[List[str], Optional[List[str]]]: """Returns col name and the latest (max) partition value for a table :param table_name: the name of th...
def latest_partition( cls, table_name: str, schema: str | None, database: Database, show_first: bool = False, ) -> tuple[list[str], list[str] | None]: """Returns col name and the latest (max) partition value for a table :param table_name: the name of the tabl...
Merge branch 'master' into fix/db-val-param-perms
https://github.com/apache/superset/commit/4e2fd6f4f04c61e8c1d3ec3f233581a05f8b6213
null
null
superset/db_engine_specs/presto.py
0
py
false
2023-06-05T08:42:54Z
def get_ndb_model_from_beam_entity(beam_entity): """Returns an NDB model equivalent to the given Apache Beam entity. Args: beam_entity: beam_datastore_types.Entity. The Apache Beam entity. Returns: datastore_services.Model. The NDB model. """ ndb_key = get_ndb_key_from_beam_key(bea...
def get_ndb_model_from_beam_entity( beam_entity: beam_datastore_types.Entity ) -> datastore_services.Model: """Returns an NDB model equivalent to the given Apache Beam entity. Args: beam_entity: beam_datastore_types.Entity. The Apache Beam entity. Returns: datastore_services.Model. The...
Merge remote-tracking branch 'upstream/develop' into secure-redirection
https://github.com/oppia/oppia/commit/11a7838e2269729b17513eca910b04951daa83ee
null
null
jobs/job_utils.py
0
py
false
2021-09-25T13:52:17Z
@Override public void onAttach(@NonNull Context context) { super.onAttach(context); // This makes sure that the container activity has implemented // the callback interfaces. If not, it throws an exception try { mToolbarAndFABCallback = (ToolbarAndFABCallback) context; ...
@Override public void onAttach(@NonNull Context context) { super.onAttach(context); // This makes sure that the container activity has implemented // the callback interfaces. If not, it throws an exception try { mToolbarAndFABCallback = (ToolbarAndFABCallback) context; ...
update volley to 1.2.1
https://github.com/gateship-one/odyssey/commit/1c6c859c8805bdf1c1c488f874f6324c457fa866
null
null
app/src/main/java/org/gateshipone/odyssey/fragments/MyMusicFragment.java
0
java
false
2021-10-25T15:43:13Z
def _render_job_button_for_obj(job_button, obj, context, content_type): """ Helper method for job_buttons templatetag to reduce repetition of code. Returns: (str, str): (button_html, form_html) """ # Pass select context data when rendering the JobButton text as Jinja2 button_context = { ...
def _render_job_button_for_obj(job_button, obj, context, content_type): """ Helper method for job_buttons templatetag to reduce repetition of code. Returns: (str, str): (button_html, form_html) """ # Pass select context data when rendering the JobButton text as Jinja2 button_context = { ...
s/SAFE_EMPTY/SAFE_EMPTY_STR/
https://github.com/nautobot/nautobot/commit/1d6f8b855ff3303bf76787dbbad19c1b189a2b3c
null
null
nautobot/extras/templatetags/job_buttons.py
0
py
false
null
def retry_building_docs_if_needed( all_build_errors, all_spelling_errors, args, docs_only, jobs, package_build_errors, package_spelling_errors, current_packages, spellcheck_only, ): to_retry_packages = [ package_name for package_name, errors in package_build_error...
def retry_building_docs_if_needed( all_build_errors: dict[str, list[DocBuildError]], all_spelling_errors: dict[str, list[SpellingError]], args: argparse.Namespace, docs_only: bool, jobs: int, package_build_errors: dict[str, list[DocBuildError]], originally_built_packages: list[str], rebu...
Merge branch 'main' into trigger_encryption
https://github.com/apache/airflow/commit/bbc7408e175819eb8a2666acddd5bc48f403baf7
null
null
docs/build_docs.py
0
py
false
2024-01-08T23:50:49Z
public static int setVideoQuality(Object[] qualities, int quality, Object qInterface, String qIndexMethod) { int preferredQuality; Field[] fields; if (!ReVancedUtils.isNewVideoStarted() && !userChangedQuality || qInterface == null) { return quality; } Class<?> intType...
public static int setVideoQuality(Object[] qualities, int quality, Object qInterface, String qIndexMethod) { int preferredQuality; Field[] fields; if (!(newVideo || userChangedQuality) || qInterface == null) { return quality; } Class<?> intType = Integer.TYPE; ...
fix: `default-video-quality` patch crashing (#100)
https://github.com/ReVanced/revanced-integrations/commit/c6b7528eaea76cf04851f4085d6e6a48731fb2dc
null
null
app/src/main/java/app/revanced/integrations/patches/VideoQualityPatch.java
0
java
false
null
public Map<String, String> getAuthScriptAsMap() { return Map.of("auth_script", this.getAuthRefreshScript(), "refresh_interval", String.valueOf(getAuthRefreshInterval())); }
public Map<String, String> getAuthScriptAsMap() { return Map.of("auth_script", this.getAuthRefreshScript(), "auth_refresh", String.valueOf(getAuthRefreshInterval())); }
Update quarkus to latest version
https://github.com/Endava/cats/commit/0b8736cdd7403b1471e7cd5ef2f59c40e6fd026b
null
null
src/main/java/com/endava/cats/args/AuthArguments.java
0
java
false
null
def load_or_create_client_key(key_file): """Load the ACME account key from a file, creating it if it does not exist. Args: key_file (str): name of the file to use as the account key """ # this is based on txacme.endpoint.load_or_create_client_key, but doesn't # hardcode the 'client.key' fil...
def load_or_create_client_key(key_file: str) -> JWKRSA: """Load the ACME account key from a file, creating it if it does not exist. Args: key_file: name of the file to use as the account key """ # this is based on txacme.endpoint.load_or_create_client_key, but doesn't # hardcode the 'client...
Merge remote-tracking branch 'origin/develop' into clokep/template-clean-up
https://github.com/matrix-org/synapse/commit/ba7f48a37848dcec60e99bc23ecd5e16137d2b45
null
null
synapse/handlers/acme_issuing_service.py
0
py
false
2021-01-27T13:35:31Z
function Q(){var b;return 93===a.charCodeAt(vc)?(b=hc,vc++):(b=X,0===Bc&&g(ic)),b}
function Q(){var b;return 93===a.charCodeAt(sc)?(b=ec,sc++):(b=X,0===xc&&g(fc)),b}
fix for prototype pollution vulnerability
https://github.com/linkedin/dustjs/commit/ddb6523832465d38c9d80189e9de60519ac307c3
CVE-2021-4264
['CWE-1321']
dist/dust-full.min.js
0
js
false
2021-09-08T00:12:45Z
static Image *ReadWEBPImage(const ImageInfo *image_info, ExceptionInfo *exception) { #define ThrowWEBPException(severity,tag) \ { \ if (stream != (unsigned char *) NULL) \ stream=(unsigned char*) RelinquishMagickMemory(stream); \ if (webp_image != (WebPDecBuffer *) NULL) \ WebPFreeDecBuffer(webp_image); \...
static Image *ReadWEBPImage(const ImageInfo *image_info, ExceptionInfo *exception) { #define ThrowWEBPException(severity,tag) \ { \ if (stream != (unsigned char *) NULL) \ stream=(unsigned char*) RelinquishMagickMemory(stream); \ if (webp_image != (WebPDecBuffer *) NULL) \ WebPFreeDecBuffer(webp_image); \...
https://github.com/ImageMagick/ImageMagick/issues/639
https://github.com/ImageMagick/ImageMagick/commit/06ccb0ccdcca8219862a05c5589329903473235f
null
null
coders/webp.c
0
c
false
null
public void showMultichoicePoiFilterDialog(final MapActivity mapActivity, final DismissListener listener) { final OsmandApplication app = getApplication(); final PoiFiltersHelper poiFilters = app.getPoiFilters(); final ContextMenuAdapter adapter = new ContextMenuAdapter(app); final List<PoiUIFilter> list = new ...
public void showMultichoicePoiFilterDialog(final MapActivity mapActivity, final DismissListener listener) { final OsmandApplication app = getApplication(); final PoiFiltersHelper poiFilters = app.getPoiFilters(); final ContextMenuAdapter adapter = new ContextMenuAdapter(app); final List<PoiUIFilter> list = new ...
Fix configure map dialogs crash
https://github.com/osmandapp/OsmAnd/commit/0ae8e376ec7c31009c0aecc043629dc20ac1103e
null
null
OsmAnd/src/net/osmand/plus/views/MapLayers.java
0
java
false
null
function L(n,t){for(var r=-1,e=n.length,u=0,i=[];++r<e;){var o=n[r];o!==t&&"__lodash_placeholder__"!==o||(n[r]="__lodash_placeholder__",i[u++]=r)}return i}
function L(n,t){for(var r=n.length;r--&&y(t,n[r],0)>-1;);return r}
Update vendor libs
https://github.com/cockpit-hq/cockpit/commit/690016208850f2d788ebc3c67884d4c692587eb8
CVE-2023-1160
['CWE-1103']
modules/App/assets/vendor/lodash.js
0
js
false
2023-02-22T01:10:02Z
function parseAttributes(attrs) { if (Object(lodash_es__WEBPACK_IMPORTED_MODULE_29__["isPlainObject"])(attrs)) { attrs = Object(_ckeditor_ckeditor5_utils_src_objecttomap__WEBPACK_IMPORTED_MODULE_26__["default"])(attrs); } else { attrs = new Map(attrs); } var _iteratorNormalCompletion7 = true; var _di...
function parseAttributes(attrs) { if (Object(lodash_es__WEBPACK_IMPORTED_MODULE_29__["isPlainObject"])(attrs)) { attrs = Object(_ckeditor_ckeditor5_utils_src_objecttomap__WEBPACK_IMPORTED_MODULE_26__["default"])(attrs); } else { attrs = new Map(attrs); } var _iteratorNormalCompletion7 = true; var _di...
DEV: changed routes in vue.js part questiongroupedit.js and deleted old controller+views
https://github.com/LimeSurvey/LimeSurvey/commit/d7a309bf1a73e95187528982b9db7ec03fee6913
CVE-2020-23710
['CWE-79']
assets/packages/questiongroup/build/js/questiongroupedit.js
0
js
false
2020-06-08T09:23:29Z
@LuaFunction public final Object[] seek(Optional<String> whence, Optional<Long> offset) throws LuaException { this.checkOpen(); return handleSeek(this.seekable, whence, offset); }
@LuaFunction public final Object[] seek( Optional<String> whence, Optional<Long> offset ) throws LuaException { checkOpen(); return handleSeek( seekable, whence, offset ); }
Make rightAlt only close menu, never open it. (#672) Fixes #669
https://github.com/cc-tweaked/cc-restitched/commit/094e0d4f33ff28462d9e4721edcb8c8d1581b410
null
null
src/main/java/dan200/computercraft/core/apis/handles/BinaryReadableHandle.java
0
java
false
2021-01-13T22:10:44Z
static int __kprobes do_page_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs) { struct task_struct *tsk; struct mm_struct *mm; int fault, sig, code; if (notify_page_fault(regs, fsr)) return 0; tsk = current; mm = tsk->mm; /* * If we're in an interrupt or have no user * context, we must...
static int __kprobes do_page_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs) { struct task_struct *tsk; struct mm_struct *mm; int fault, sig, code; if (notify_page_fault(regs, fsr)) return 0; tsk = current; mm = tsk->mm; /* * If we're in an interrupt or have no user * context, we must...
perf: Remove the nmi parameter from the swevent and overflow interface The nmi parameter indicated if we could do wakeups from the current context, if not, we would set some state and self-IPI and let the resulting interrupt do the wakeup. For the various event classes: - hardware: nmi=0; PMI is in fact an NMI or ...
https://github.com/torvalds/linux/commit/a8b0ca17b80e92faab46ee7179ba9e99ccb61233
null
null
arch/arm/mm/fault.c
0
c
false
null
static int _receive(gnrc_pktsnip_t *pkt) { /* NOTE: In receiving direction: pkt = payload, payload->next = tcp, tcp->next = nw */ uint16_t ctl = 0; uint16_t src = 0; uint16_t dst = 0; uint8_t hdr_size = 0; uint8_t syn = 0; gnrc_pktsnip_t *ip = NULL; gnrc_pktsnip_t *reset = NULL; gnrc...
static int _receive(gnrc_pktsnip_t *pkt) { /* NOTE: In receiving direction: pkt = payload, payload->next = tcp, tcp->next = nw */ uint16_t ctl = 0; uint16_t src = 0; uint16_t dst = 0; uint8_t hdr_size = 0; uint8_t syn = 0; gnrc_pktsnip_t *ip = NULL; gnrc_pktsnip_t *reset = NULL; gnrc...
gnrc_tcp: Fix memory leak
https://github.com/RIOT-OS/RIOT/commit/c6df2064aff1ffb4015d4cedbaefb8850cb50aa8
null
null
sys/net/gnrc/transport_layer/tcp/gnrc_tcp_eventloop.c
0
c
false
null
def _call( self, prompt: str, stop: Optional[List[str]] = None, run_manager: Optional[CallbackManagerForLLMRun] = None, ) -> str: """Call to Modal endpoint.""" params = self.model_kwargs or {} response = requests.post( url=self.endpoint_url, ...
def _call( self, prompt: str, stop: Optional[List[str]] = None, run_manager: Optional[CallbackManagerForLLMRun] = None, **kwargs: Any, ) -> str: """Call to Modal endpoint.""" params = self.model_kwargs or {} params = {**params, **kwargs} respon...
Merge remote-tracking branch 'upstream/master'
https://github.com/hwchase17/langchain/commit/e12294f00cb3c6d3afd6eaf0541dc3056029fc10
null
null
langchain/llms/modal.py
0
py
false
2023-06-21T06:45:39Z
private void ini() { set(hea); set(len); set(max); add(bg); add(cas); add(con); add(mus); add(jm1); set(jhea); set(jlen); set(jbg); set(jcas); set(jmax); set(name); set(jm0); set(jmh); add(lt); set(loop); set(lop); set(loop1); set(lop1); set(minres); set(minrest); set(cos...
private void ini() { set(hea); set(len); set(max); add(bg); add(cas); add(con); add(mus); set(jhea); set(jlen); set(jbg); set(jcas); set(jmax); set(name); set(jm0); set(jmh); set(jm1); add(lt); set(loop); set(lop); set(loop1); set(lop1); set(minres); set(minrest); set(cos...
Added toggle to consider/ignore traits for certain attack types
https://github.com/battlecatsultimate/BCU-java-PC/commit/732c4b5bcf529137b46b325e97235fe479e2efb6
null
null
src/main/java/page/info/edit/HeadEditTable.java
0
java
false
2021-05-03T00:32:57Z
public String executeXML(String sparqlQuery, int timeout) throws Exception { logger.info("Json " + sparqlQuery); initializeHybridStore(locationHdt); ParsedQuery parsedQuery = QueryParserUtil.parseQuery(QueryLanguage.SPARQL, sparqlQuery, null); RepositoryConnection conn...
public String executeXML(String sparqlQuery, int timeout) throws Exception { logger.info("Json " + sparqlQuery); initializeHybridStore(locationHdt); ParsedQuery parsedQuery = QueryParserUtil.parseQuery(QueryLanguage.SPARQL, sparqlQuery, null); RepositoryConnection conn...
add step crashing and start tests
https://github.com/the-qa-company/qEndpoint/commit/90451be4445b0b51472755345784c13307f2a5a1
null
null
hdt-qs-backend/src/main/java/com/the_qa_company/q_endpoint/controller/Sparql.java
0
java
false
2022-02-04T15:11:26Z
private void addCertCaToTrustStore(String alias, Map<String, String> certData) { try { File certFile = File.createTempFile("tls", "-cert"); Files.write(certFile.toPath(), Base64.getDecoder().decode(certData.get(CA_CRT))); try { File trustStoreFile = File.creat...
private void addCertCaToTrustStore(String alias, Map<String, String> certData) { try { File certFile = Files.createTempFile("tls", "-cert").toFile(); Files.write(certFile.toPath(), Base64.getDecoder().decode(certData.get(CA_CRT))); try { File trustStoreFile = ...
Improve JavaDoc comments before moving to Java 17 (#7664) Signed-off-by: Jakub Scholz <www@scholzj.com>
https://github.com/strimzi/strimzi-kafka-operator/commit/9b53334d5d38ac5bf7cfb60ceed5bd84b989d2f3
null
null
operator-common/src/main/java/io/strimzi/operator/cluster/model/Ca.java
0
java
false
2022-11-22T23:20:42Z
public static void loadImages() { for (int i = 0; i <= 20; i++) { MANA_IMAGES.put(String.valueOf(i), FSkin.getImage(FSkinProp.valueOf("IMG_MANA_" + i), manaImageSize, manaImageSize)); } MANA_IMAGES.put("X", FSkin.getImage(FSkinProp.IMG_MANA_X, manaImageSize, manaImageSize)); ...
public static void loadImages() { for (int i = 0; i <= 20; i++) { MANA_IMAGES.put(String.valueOf(i), FSkin.getImage(FSkinProp.valueOf("IMG_MANA_" + i), manaImageSize, manaImageSize)); } MANA_IMAGES.put("X", FSkin.getImage(FSkinProp.IMG_MANA_X, manaImageSize, manaImageSize)); ...
- Fix auto mana payment for Chromatic Orrery and friends - Fix the Haste icon crashing in desktop Forge
https://github.com/Card-Forge/forge/commit/71f191e71b1d3108ba6bd001fbc84c115ec16195
null
null
forge-gui-desktop/src/main/java/forge/toolbox/CardFaceSymbols.java
0
java
false
null
def del_version(request, client_id, project, version): if request.method == 'GET': client = Client.objects.get(id=client_id) try: scrapyd = get_scrapyd(client) result = scrapyd.delete_version(project=project, version=version) return JsonResponse(result) ex...
def del_version(request, client_id, project, version): if request.method == 'GET': client = Client.objects.get(id=client_id) scrapyd = get_scrapyd(client) result = scrapyd.delete_version(project=project, version=version) return JsonResponse(result)
to b1
https://github.com/Gerapy/Gerapy/commit/e8446605eb2424717418eae199ec7aad573da2d2
null
null
gerapy/server/core/views.py
0
py
false
2020-07-06T14:57:10Z
private static void initialize() { if (!dbManagerReady.get()) { synchronized (dbManagerReady) { if (!dbManagerReady.get()) { LOGGER.info("DatabaseManager starting initialization"); long start = System.cur...
private static void initialize() { if (!dbManagerReady.get()) { synchronized (dbManagerReady) { if (!dbManagerReady.get()) { LOGGER.info("DatabaseManager starting initialization"); long start = System.cur...
Add protocol v1_24_0 (#847) * Add protocol v1_24_0 * Update PureClientVersions to use v1_24_0
https://github.com/finos/legend-engine/commit/b00cd1bc8085c5d6c778827bca59174c70eaf06c
null
null
legend-engine-xt-relationalStore-executionPlan-connection/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/connection/driver/DatabaseManager.java
0
java
false
null
function D(qa,O,X){if(X||q!=document.activeElement&&y!=document.activeElement){qa=!1;for(O=0;O<C.length;O++)X=C[O],da?"custom"==X.key&&(d.value=X.key,da=!1):null!=X.format&&("a4"==X.key?826==k.width?(k=mxRectangle.fromRectangle(k),k.width=827):826==k.height&&(k=mxRectangle.fromRectangle(k),k.height=827):"a5"==X.key&&(5...
function D(qa,O,X){if(X||q!=document.activeElement&&y!=document.activeElement){qa=!1;for(O=0;O<C.length;O++)X=C[O],da?"custom"==X.key&&(d.value=X.key,da=!1):null!=X.format&&("a4"==X.key?826==k.width?(k=mxRectangle.fromRectangle(k),k.width=827):826==k.height&&(k=mxRectangle.fromRectangle(k),k.height=827):"a5"==X.key&&(5...
18.1.3 release
https://github.com/jgraph/drawio/commit/064729fec4262f9373d9fdcafda0be47cd18dd50
CVE-2023-3398
['CWE-400']
src/main/webapp/js/viewer-static.min.js
0
js
false
null
public boolean canPlayerModify(Player player) { return mainNode.isReady() && mainNode.getGrid().getSecurityService().hasPermission(player, SecurityPermissions.BUILD); }
public boolean canPlayerModify(Player player) { //TODO add check return mainNode.isReady() && mainNode.getGrid().getSecurityService().hasPermission(player, SecurityPermissions.BUILD); }
update removal
https://github.com/Team-EnderIO/EnderIO/commit/4e6a733589c3a8033e33ead854dca6b4d3e3947d
null
null
src/conduits/java/com/enderio/conduits/common/integrations/ae2/AE2InWorldConduitNodeHost.java
0
java
false
2022-10-18T14:55:12Z
public JFrame render() { final Colormap colormap = displaySettings.getColormap(); // X label final String xAxisLabel = xFeature + " (" + TMUtils.getUnitsFor( xDimension, model.getSpaceUnits(), model.getTimeUnits() ) + ")"; // Find how many different dimensions final Set< Dimension > dimensions = getUniqueV...
public JFrame render() { // X label final String xAxisLabel = xFeature + " (" + TMUtils.getUnitsFor( xDimension, spaceUnits, timeUnits ) + ")"; // Find how many different dimensions final Set< Dimension > dimensions = getUniqueValues( yFeatures, yDimensions ); // Generate one panel per different dimension ...
Use the new spot dataset in the grapher. Required to change Set -> List to the collection of objects to plot and the set of features to plot.
https://github.com/trackmate-sc/TrackMate/commit/c15faf6268865e90b1da8be72bbeeab0605153ec
null
null
src/main/java/fiji/plugin/trackmate/features/AbstractFeatureGrapher.java
0
java
false
null
public void writeString(@NotNull String string) { this.ensureWriting(); byte[] stringBytes = string.getBytes(CHARSET_UTF_8); this.writeByteArray(stringBytes); }
public void writeString(@NotNull String string) { this.ensureWriting(); byte[] stringBytes = string.getBytes(StandardCharsets.UTF_8); this.writeByteArray(stringBytes); }
Fix Bukkit not sending handshake response/crashing client
https://github.com/2008Choco/VeinMiner/commit/2984ce29813e6145245466c2f7d13bf82903489e
null
null
VeinMiner-Common/src/main/java/wtf/choco/veinminer/network/PluginMessageByteBuffer.java
0
java
false
2022-01-28T22:30:43Z
public void addTrait(BeeTrait trait){ if (trait != null) { if (trait.hasDamagePotionEffects()) { this.potionDamageEffects.addAll(trait.getPotionDamageEffects()); } if (trait.hasDamageImmunities()) { this.damageImmunities.addAll(trait.getDamageI...
public void addTrait(BeeTrait trait){ if (trait != null) { if (trait.hasDamagePotionEffects()) { this.potionDamageEffects.addAll(trait.getPotionDamageEffects()); } if (trait.hasDamageImmunities()) { this.damageImmunities.addAll(trait.getDamageI...
Added initial aura code bees can now also do other damage types with traits the amplifier will determine how much damage each trait damage type will deal the default sting attack will still also occur
https://github.com/Team-Resourceful/ResourcefulBees/commit/8aa5c6ce0ca209025f5a27685fb08d86bf76398f
null
null
src/main/java/com/resourcefulbees/resourcefulbees/api/beedata/TraitData.java
0
java
false
null
def get_stacktrace() -> Optional[str]: if current_app.config["SHOW_STACKTRACE"]: return traceback.format_exc() return None
def get_stacktrace() -> str | None: if current_app.config["SHOW_STACKTRACE"]: return traceback.format_exc() return None
Merge branch 'master' into fix/db-val-param-perms
https://github.com/apache/superset/commit/4e2fd6f4f04c61e8c1d3ec3f233581a05f8b6213
null
null
superset/utils/core.py
0
py
false
2023-06-05T08:42:54Z
public void aiStep() { super.aiStep(); if (this.getAttackTimer() > 0) { this.entityData.set(ATTACK_TIMER, this.getAttackTimer() - 1); } if (this.getRockTimer() > 0) { this.entityData.set(ROCK_TIMER, this.getRockTimer() - 1); } }
public void aiStep() { super.aiStep(); if (this.getRockTimer() == 5) { this.throwRocks(); } if (this.getAttackTimer() > 0) { this.entityData.set(ATTACK_TIMER, this.getAttackTimer() - 1); } if (this.getRockTimer() > 0) { this.entityDat...
Finished Dwarf throw attack and added Dwarf sounds
https://github.com/infernalstudios/Infernal-Expansion/commit/652ce735930a0b2db7131eeb881dc997cf07a860
null
null
src/main/java/org/infernalstudios/infernalexp/entities/BlackstoneDwarfEntity.java
0
java
false
null
def _find_working_git(self): test_cmd = 'version' if app.GIT_PATH: main_git = '"' + app.GIT_PATH + '"' else: main_git = 'git' log.debug(u'Checking if we can use git commands: {0} {1}', main_git, test_cmd) _, _, exit_status = self._run_git(main_git, test_...
def _find_working_git(self): test_cmd = 'version' main_git = app.GIT_PATH or 'git' log.debug(u'Checking if we can use git commands: {0} {1}', main_git, test_cmd) _, _, exit_status = self._run_git(main_git, test_cmd) if exit_status == 0: log.debug(u'Using: {0}', main...
Ensure that git_path is a valid file (#11138) * Ensure that git_path is a valid file * Update github_updater.py
https://github.com/pymedusa/Medusa/commit/66d4be8f0872bd5ddcdc5c5a58cb014d22834a45
null
null
medusa/updater/github_updater.py
0
py
false
2023-02-22T10:23:45Z
static expr_ty ast_for_atom(struct compiling *c, const node *n) { /* atom: '(' [yield_expr|testlist_comp] ')' | '[' [testlist_comp] ']' | '{' [dictmaker|testlist_comp] '}' | NAME | NUMBER | STRING+ | '...' | 'None' | 'True' | 'False' */ node *ch = CHILD(n, 0); switch (TYPE(ch)) { case...
static expr_ty ast_for_atom(struct compiling *c, const node *n) { /* atom: '(' [yield_expr|testlist_comp] ')' | '[' [testlist_comp] ']' | '{' [dictmaker|testlist_comp] '}' | NAME | NUMBER | STRING+ | '...' | 'None' | 'True' | 'False' */ node *ch = CHILD(n, 0); switch (TYPE(ch)) { case...
Fully incorporate the code from Python 3.7.2 (#78) This is a full port, following the recipe in update_process.md. I've also tried to keep the recipe up to date and improved the automation (see tools/script). I haven't cleaned up the commits. As of #77 there are a few tests that sanity-check this (though it's far from...
https://github.com/python/typed_ast/commit/156afcb26c198e162504a57caddfe0acd9ed7dce
null
null
ast3/Python/ast.c
0
c
false
2019-01-23T03:09:26Z
async def _complete_login( self, user_id: str, login_submission: JsonDict, callback: Optional[Callable[[LoginResponse], Awaitable[None]]] = None, create_non_existent_users: bool = False, ratelimit: bool = True, auth_provider_id: Optional[str] = None, shoul...
async def _complete_login( self, user_id: str, login_submission: JsonDict, callback: Optional[Callable[[LoginResponse], Awaitable[None]]] = None, create_non_existent_users: bool = False, ratelimit: bool = True, auth_provider_id: Optional[str] = None, shoul...
Fix typos. Co-authored-by: David Robertson <davidr@element.io>
https://github.com/matrix-org/synapse/commit/07e16191a10c1e3355e6263acf0e8fa5eb8905c7
null
null
synapse/rest/client/login.py
0
py
false
null
int cp_vbnn_ver(const ec_t r, const bn_t z, const bn_t h, const uint8_t *id, size_t id_len, const uint8_t *msg, int msg_len, const ec_t mpk) { int len, result = 0; uint8_t *buf = NULL, *buf_i, hash[RLC_MD_LEN]; bn_t n, c, _h; ec_t Z; ec_t t; /* zero variables */ bn_null(n); bn_null(c); bn_null(_h); ec_null...
int cp_vbnn_ver(const ec_t r, const bn_t z, const bn_t h, const uint8_t *id, size_t id_len, const uint8_t *msg, int msg_len, const ec_t mpk) { size_t len; uint8_t *buf = NULL, *buf_i, hash[RLC_MD_LEN]; bn_t n, c, _h; ec_t Z, t; int result = 0; /* zero variables */ bn_null(n); bn_null(c); bn_null(_h); ec_nu...
Huge commit improving the API to use size_t instead of int.
https://github.com/relic-toolkit/relic/commit/34580d840469361ba9b5f001361cad659687b9ab
null
null
src/cp/relic_cp_vbnn.c
0
c
false
2022-11-14T20:47:12Z
def remove_duplicates( items: Iterable[InputType], key: Optional[Callable[[InputType], Any]] = None ) -> List[InputType]: """Remove duplicate items in an iterable.""" if not key: return list(dict.fromkeys(items).keys()) seen = set() result = [] for item in items: item_key = key(i...
def remove_duplicates( items: Iterable[InputType], key: Callable[[InputType], Any] | None = None ) -> list[InputType]: """Remove duplicate items in an iterable.""" if not key: return list(dict.fromkeys(items).keys()) seen = set() result = [] for item in items: item_key = key(item...
Merge branch 'master' into fix/db-val-param-perms
https://github.com/apache/superset/commit/4e2fd6f4f04c61e8c1d3ec3f233581a05f8b6213
null
null
superset/utils/core.py
0
py
false
2023-06-05T08:42:54Z
static int setupStream(PRTSP_MESSAGE response, char* target, int* error) { RTSP_MESSAGE request; int ret; char* transportValue; *error = -1; ret = initializeRtspRequest(&request, "SETUP", target); if (ret != 0) { if (hasSessionId) { if (!addOption(&request, "Session", sessi...
static int setupStream(PRTSP_MESSAGE response, char* target, int* error) { RTSP_MESSAGE request; int ret; char* transportValue; *error = -1; ret = initializeRtspRequest(&request, "SETUP", target); if (ret != 0) { if (hasSessionId) { if (!addOption(&request, "Session", sessi...
API update to provide enough information to support GFE 3.0.7
https://github.com/moonlight-stream/moonlight-common-c/commit/f57bd745b4cbed577ea654fad4701bea4d38b44c
null
null
src/RtspConnection.c
0
c
false
null
public boolean isAfterLast() throws SQLException { return !open && !emptyResultSet; }
public boolean isAfterLast() { return !open && !emptyResultSet; }
fix(jdbc): getDate, getTime, and getTimestamp crash on empty text Closes: #490
https://github.com/xerial/sqlite-jdbc/commit/bc5174ba197e6e6a1d054542d3e63f1e7d09ccd9
null
null
src/main/java/org/sqlite/jdbc3/JDBC3ResultSet.java
0
java
false
2022-08-30T08:31:15Z
function x(t,e){var n=L(e);return n&&(!function(t,e){e.prefinished||e.finalCalled||("function"==typeof t._final?(e.pendingcb++,e.finalCalled=!0,o.nextTick(b,t,e)):(e.prefinished=!0,t.emit("prefinish")))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),n}
function x(t,e){e=e||0;for(var r=Math.max(0,t.length-e),n=new Array(r),i=0;i<r;i++)n[i]=t[i+e];return n}
[API] Update swagger version
https://github.com/mailcow/mailcow-dockerized/commit/000894dabda7c2116f43ad6ff926962295d8095c
CVE-2022-39258
['CWE-200', 'CWE-451', 'CWE-601']
data/web/api/swagger-ui-standalone-preset.js
0
js
false
2022-09-26T13:56:24Z
@Override protected void onStart() { super.onStart(); if (action != null) { boolean serviceStarted = GlobalUtils.isServiceRunning(getApplicationContext(), PhoneProfilesService.class, false); if (!serviceStarted) { AutostartPermissionNotification.showNotif...
@Override protected void onStart() { super.onStart(); if (action != null) { boolean serviceStarted = GlobalUtils.isServiceRunning(getApplicationContext(), PhoneProfilesService.class, false); if (!serviceStarted) { AutostartPermissionNotification.showNotif...
Fix: Maybe fixed: android.app.RemoteServiceException: Bad notification(tag=null, id=100) posted from package sk.henrichg.phoneprofilesplus, crashing app(uid=10258, pid=11649): Couldn't inflate contentViewsandroid.view.InflateException: Binary XML file line #2 in sk.henrichg.phoneprofilesplus:layout/popup_window_run_sto...
https://github.com/henrichg/PhoneProfilesPlus/commit/c6f2ebe8b00b13bbc5379a4a7cc72069a2710242
null
null
phoneProfilesPlus/src/main/java/sk/henrichg/phoneprofilesplus/ActionForExternalApplicationActivity.java
0
java
false
2022-09-23T18:30:21Z
void UpdateProfile(DeviceProfile profile);
void UpdateProfile(string profileId, DeviceProfile profile);
Merge remote-tracking branch 'upstream/master' into client-logger
https://github.com/jellyfin/jellyfin/commit/f444e93a56f6613baa8a722099159f2935d4d942
null
null
MediaBrowser.Controller/Dlna/IDlnaManager.cs
0
cs
false
2021-11-02T23:56:12Z
function a(){o.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),i.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(i[0].offsetWidth,i.addClass("in")):i.removeClass("fade"),i.parent(".dropdown-menu").length...
function a(){n._addClass(i.newTab.closest("li"),"ui-tabs-active","ui-state-active"),r.length&&n.options.show?n._show(r,n.options.show,s):(r.show(),s())}
Merge pull request #10171 from snipe/fixes/xss_svg_in_file_uploads Fixed SVG XSS vuln
https://github.com/snipe/snipe-it/commit/fc5efd857f61f7e45c61db567bb66612bcb53128
CVE-2021-3863
['CWE-79']
public/js/dist/all.js
0
js
false
2021-10-06T19:38:51Z
@DaemonOnly @HiddenMethod(name = "strDebugOpToOp", type = MType.STATIC_METHOD, cls = AppOpsManager.class) public abstract int strDebugOpToOp(String opName) throws NoSuchMethodError;
@DaemonOnly @HiddenMethod(name = "strDebugOpToOp", type = MType.STATIC_METHOD, cls = AppOpsManager.class) public abstract int strDebugOpToOp(String opName) throws HiddenAPIsError;
Bump library versions
https://github.com/mirfatif/PermissionManagerX/commit/a73b6999996e43e52238f5dc31c037bb97efd5fa
null
null
priv_library/src/main/java/com/mirfatif/privtasks/hiddenapis/HiddenAPIs.java
0
java
false
2021-02-15T23:50:27Z
static ANTLR3_INLINE void mSLASH(pbelle_sip_messageLexer ctx) { ANTLR3_UINT32 _type; _type = SLASH; // ../grammars/belle_sip_message.g:2058:3: ( '/' ) // ../grammars/belle_sip_message.g:2058:5: '/' { MATCHC('/'); if (HASEXCEPTION()) { goto ruleSLASHEx; ...
static ANTLR3_INLINE void mSLASH(pbelle_sip_messageLexer ctx) { ANTLR3_UINT32 _type; _type = SLASH; // ../grammars/belle_sip_message.g:2059:3: ( '/' ) // ../grammars/belle_sip_message.g:2059:5: '/' { MATCHC('/'); if (HASEXCEPTION()) { goto ruleSLASHEx; ...
Fix crash while receiving some kind of invalid from header.
https://github.com/BelledonneCommunications/belle-sip/commit/116e3eb48fe43ea63eb9f3c4b4b30c48d58d6ff0
null
null
src/grammars/belle_sip_messageLexer.c
0
c
false
2021-05-13T14:08:12Z
protected final void setBlock(final BlockWrapper cb) { final IBlock block = getWorld().getBlock(this.getTargetBlock().getX() + cb.getX(), this.getTargetBlock().getY() + cb.getY(), this.getTargetBlock().getZ() + cb.getZ()); addOperation(new BlockOperation(block.getLocation(), block.getBlockData(), cb.get...
protected final void setBlock(final BlockWrapper cb) { final IBlock block = getWorld().getBlock(this.getTargetBlock().getX() + cb.getX(), this.getTargetBlock().getY() + cb.getY(), this.getTargetBlock().getZ() + cb.getZ()); addOperation(new BlockOperation(block.getLocation(), block.getBlockData(), cb.get...
Added BrushUsersCounter (#98) * Added BrushUsersCounter * Added some structure and comments to the main class * Fix * Another fix Co-authored-by: Lennart99 <le.le@live.nl>
https://github.com/KevinDaGame/VoxelSniper-Reimagined/commit/9d8073798b209230b78dbe814151548839c422c0
null
null
VoxelSniperCore/src/main/java/com/github/kevindagame/brush/StampBrush.java
0
java
false
2023-01-07T19:55:00Z
@SuppressWarnings("deprecation") public static BuildType getBuildType(Context ctx) { try { Signature[] signatures; if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) { // NOTE: PCAPdroid does not use multiple signatures PackageInfo pInfo = ctx.getPack...
@SuppressWarnings("deprecation") public static BuildType getBuildType(Context ctx) { try { Signature[] signatures; if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) { // NOTE: PCAPdroid does not use multiple signatures PackageInfo pInfo = ctx.getPack...
Fix CaptureCtrl crash on Android 11/12 The CaptureCtrl is only started when the PCAPdroid control API is invoked. The crash occurred because getInsetsController was called before setContentView. Fixes #179
https://github.com/emanuele-f/PCAPdroid/commit/cebeb37a384ac73757fbdec52a06b281f9e19f03
null
null
app/src/main/java/com/emanuelef/remote_capture/Utils.java
0
java
false
2022-01-14T11:51:19Z
private static void throwError (Throwable throwable) { StackTraceElement[] elements = throwable.getStackTrace(); if (elements != null) { StackTraceElement[] newElements = new StackTraceElement[elements.length + 1]; System.arraycopy(elements, 0, newElements, 1, elements.length); newElements[0] ...
private static void throwError (Throwable throwable) { StackTraceElement[] elements = throwable.getStackTrace(); if (elements != null) { StackTraceElement[] newElements = new StackTraceElement[elements.length + 1]; System.arraycopy(elements, 0, newElements, 1, elements.length); newElements[0] ...
version bump to 1452 + fixed crash when trying to clear from cache
https://github.com/TGX-Android/Telegram-X/commit/bbf9d6bb6599b66a1d9cdd7b1f2962d0ab64bcc2
null
null
app/src/main/java/org/drinkmore/Tracer.java
0
java
false
2021-10-29T16:34:45Z
function RootElement(doc, name) { var _this; var rootName = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'main'; Object(_var_www_lime25_limesurvey_assets_packages_questiongroup_node_modules_babel_runtime_corejs2_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(thi...
function RootElement(doc, name) { var _this; var rootName = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'main'; Object(_var_www_limedev_assets_packages_questiongroup_node_modules_babel_runtime_corejs2_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, RootEle...
DEV: changed routes in vue.js part questiongroupedit.js and deleted old controller+views
https://github.com/LimeSurvey/LimeSurvey/commit/d7a309bf1a73e95187528982b9db7ec03fee6913
CVE-2020-23710
['CWE-79']
assets/packages/questiongroup/build/js/questiongroupedit.js
0
js
false
2020-06-08T09:23:29Z
public static boolean adjustCamera(IWrapperPlayer player, Point3D cameraAdjustedPosition, RotationMatrix cameraRotation, float partialTicks) { //Get variables. AEntityB_Existing ridingEntity = player.getEntityRiding(); PartSeat sittingSeat = ridingEntity instanceof PartSeat ? (PartSeat) ridingEn...
public static boolean adjustCamera(IWrapperPlayer player, Point3D cameraAdjustedPosition, RotationMatrix cameraRotation, float partialTicks) { //Get variables. AEntityB_Existing ridingEntity = player.getEntityRiding(); PartSeat sittingSeat = ridingEntity instanceof PartSeat ? (PartSeat) ridingEn...
Vairables for guided weapons (#1465) * Add scanning variable for the YZ axial lane finds contact's angle vertically like direction does with the XZ plane. * Fix Angle and direction Fixed angle variable for radars. Had wrong math. Removed Orientation from direction variable as it will only work if the plane's wings ...
https://github.com/DonBruce64/MinecraftTransportSimulator/commit/5eea2796571b58f0a356a5a2b292e575f484ba26
null
null
mccore/src/main/java/minecrafttransportsimulator/systems/CameraSystem.java
0
java
false
null
def estimate_query_cost( cls, database: Database, schema: str, sql: str, source: Optional[utils.QuerySource] = None, ) -> List[Dict[str, Any]]: """ Estimate the cost of a multiple statement SQL query. :param database: Database instance :param ...
def estimate_query_cost( cls, database: Database, schema: str, sql: str, source: utils.QuerySource | None = None, ) -> list[dict[str, Any]]: """ Estimate the cost of a multiple statement SQL query. :param database: Database instance :param sch...
Merge branch 'master' into fix/db-val-param-perms
https://github.com/apache/superset/commit/4e2fd6f4f04c61e8c1d3ec3f233581a05f8b6213
null
null
superset/db_engine_specs/base.py
0
py
false
2023-06-05T08:42:54Z
private static int getThemeResId(Context context, int themeId) { if (themeId == 0) { // If the provided theme is 0, then retrieve the dialogTheme from our theme TypedValue outValue = new TypedValue(); if (context.getTheme().resolveAttribute(com.google.android.material.R.attr....
private static int getThemeResId(Context context, int themeId) { if (themeId == 0) { // If the provided theme is 0, then retrieve the dialogTheme from our theme TypedValue outValue = new TypedValue(); if (context.getTheme().resolveAttribute(R.attr.bottomSheetDialogTheme, outV...
Android - Bug fix for Kava CDP crash
https://github.com/cosmostation/cosmostation-android/commit/7e33dbcdbe70e7ef40a707eb0836d7d9eeef2ec1
null
null
Cosmos-Android/app/src/main/java/wannabit/io/cosmostaion/dialog/TopSheetDialog.java
0
java
false
null
def add_missing_metrics(self, metrics: List["BaseMetric"]) -> None: existing_metrics = {m.metric_name for m in self.metrics} for metric in metrics: if metric.metric_name not in existing_metrics: metric.table_id = self.id self.metrics.append(metric)
def add_missing_metrics(self, metrics: list[BaseMetric]) -> None: existing_metrics = {m.metric_name for m in self.metrics} for metric in metrics: if metric.metric_name not in existing_metrics: metric.table_id = self.id self.metrics.append(metric)
Merge branch 'master' into fix/db-val-param-perms
https://github.com/apache/superset/commit/4e2fd6f4f04c61e8c1d3ec3f233581a05f8b6213
null
null
superset/connectors/base/models.py
0
py
false
2023-06-05T08:42:54Z
function EditingKeystrokeHandler(editor) { var _this; Object(_var_www_lime25_limesurvey_assets_packages_questiongroup_node_modules_babel_runtime_corejs2_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, EditingKeystrokeHandler); _this = Object(_var_www_lime25_limesurvey_assets_pack...
function EditingKeystrokeHandler(editor) { var _this; Object(_var_www_limedev_assets_packages_questiongroup_node_modules_babel_runtime_corejs2_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, EditingKeystrokeHandler); _this = Object(_var_www_limedev_assets_packages_questiongroup_n...
DEV: changed routes in vue.js part questiongroupedit.js and deleted old controller+views
https://github.com/LimeSurvey/LimeSurvey/commit/d7a309bf1a73e95187528982b9db7ec03fee6913
CVE-2020-23710
['CWE-79']
assets/packages/questiongroup/build/js/questiongroupedit.js
0
js
false
2020-06-08T09:23:29Z
def main() -> None: parser = argparse.ArgumentParser() # Configure debug logging before running parse_args, because there could be an error raised before the construction of the argument parser. logging.basicConfig( level=logging.DEBUG if ("--debug" in sys.argv or "-d" in sys.argv) ...
def main() -> None: parser = argparse.ArgumentParser() # Configure debug logging before running parse_args, because there could be an error raised before the construction of the argument parser. logging.basicConfig( level=logging.DEBUG if ("--debug" in sys.argv or "-d" in sys.argv) ...
Merge branches 'HotFix-0.7.1-set_pyshacl_ceiling' and 'support-0.6.x' into release-0.7.1
https://github.com/casework/CASE-Utilities-Python/commit/e4ffadc3d56fd303b8f465d727c4a58213d311a1
null
null
case_utils/case_sparql_select/__init__.py
0
py
false
null
public long getFileSize(String uri){ final BlockBlobURL blockBlobURL = getBlobURL(uri); final BlobGetPropertiesHeaders headers = blockBlobURL.getProperties().blockingGet().headers(); return headers.contentLength(); }
public long getFileSize(String uri){ return getBlobURL(uri).getProperties().getBlobSize(); }
Extend heatmap registration CLI reference
https://github.com/epam/NGB/commit/a962d051083a78be974351b4d43825ec431044df
null
null
server/catgenome/src/main/java/com/epam/catgenome/util/azure/AzureBlobClient.java
0
java
false
2021-10-13T15:33:15Z
function meetingHasEnded(meetingId) { if (!process.env.BBB_HTML5_ROLE || process.env.BBB_HTML5_ROLE === 'frontend') { removeAnnotationsStreamer(meetingId); removeCursorStreamer(meetingId); removeExternalVideoStreamer(meetingId); } return Meetings.remove({ meetingId }, () => { clearCaptions(meetin...
async function meetingHasEnded(meetingId) { if (!process.env.BBB_HTML5_ROLE || process.env.BBB_HTML5_ROLE === 'frontend') { removeAnnotationsStreamer(meetingId); removeCursorStreamer(meetingId); removeExternalVideoStreamer(meetingId); } await Meetings.removeAsync({ meetingId }); await Promise.all([...
Merge branch 'v2.6.x-release' of github.com:bigbluebutton/bigbluebutton into ssrf-fix
https://github.com/bigbluebutton/bigbluebutton/commit/22de2b49a5d218910923a1048bb73395e53c99bf
CVE-2023-33176
['CWE-918']
bigbluebutton-html5/imports/api/meetings/server/modifiers/meetingHasEnded.js
0
js
false
2023-04-13T12:40:07Z
function mt(t,e,n){for(var i,r,o=0,a=0,s=e.length;a<s;){for(i=e[a].firstChild,r=n?n[a].firstChild:null;i;)1===i.nodeType&&(n?t(i,r,o):t(i,o),o++),i=i.nextSibling,r=n?r.nextSibling:null;a++}}
function mt(t,e,n){var i,r,o=Math.min(t/=255,e/=255,n/=255),a=Math.max(t,e,n),s=a-o,l=(a+o)/2;return s?(r=l<.5?s/(a+o):s/(2-a-o),i=t==a?(e-n)/s+(e<n?6:0):e==a?(n-t)/s+2:(t-e)/s+4,i*=60):(i=NaN,r=0<l&&l<1?0:i),new et(i,r,l)}
Updated PapaParse config to prevent CSV injection. I've updated the PapaParse JS library to the latest version from the master branch which supports the `escapeForumlae` option in order to prevent malicious event entries from being parsed and executed by the Gophish user's spreadsheet software. When a new PapaParse r...
https://github.com/gophish/gophish/commit/b25f5ac5e468f6730e377f43c7995e18f8fccc2b
CVE-2020-24707
['CWE-1236']
static/js/dist/vendor.min.js
0
js
false
2020-07-25T03:44:24Z
@Override public void onPlayerStoppedUsing(ItemStack stack, World worldIn, LivingEntity entityLiving, int timeLeft) { if (entityLiving instanceof PlayerEntity) { PlayerEntity playerentity = (PlayerEntity)entityLiving; boolean flag = playerentity.abilities.isCreativeMo...
@Override public void onPlayerStoppedUsing(ItemStack stack, World worldIn, LivingEntity entityLiving, int timeLeft) { if (entityLiving instanceof PlayerEntity) { PlayerEntity playerentity = (PlayerEntity)entityLiving; boolean flag = playerentity.abilities.isCreativeMo...
Fixed ultimate bow crash and added crystal dim assets
https://github.com/ChaosAwakens/ChaosAwakens/commit/15417d890f12a57656f8e67e495a8f6922af778a
null
null
src/main/java/io/github/chaosawakens/items/UltimateBow.java
0
java
false
null
public String getDisplayName() { return stack.getDisplayName().getUnformattedComponentText(); }
public String getDisplayName() { return stack.getDisplayName().getString(); }
1.2.16 Added Level emitter Fixed terminal sorting Implemented Inventory Proxy filter feature from Fabric Made Wireless terminals are non-stackable (Closes #32) Fixed REI intergation (Closes #35) Fixed data overflow crash (Closes #33)
https://github.com/tom5454/Toms-Storage/commit/e2155ba7626e7a999f33069bcb914e6ad8d7700c
null
null
src/main/java/com/tom/storagemod/StoredItemStack.java
0
java
false
2021-03-09T17:45:30Z
function updateDocumentPlaceholders(doc, writer) { var placeholders = documentPlaceholders.get(doc); var wasViewModified = false; var _iteratorNormalCompletion = true; var _didIteratorError = false; var _iteratorError = undefined; try { for (var _iterator = placeholders[Symbol.iterator](), _step; !(_it...
function updateDocumentPlaceholders(doc, writer) { var placeholders = documentPlaceholders.get(doc); var wasViewModified = false; var _iteratorNormalCompletion = true; var _didIteratorError = false; var _iteratorError = undefined; try { for (var _iterator = placeholders[Symbol.iterator](), _step; !(_it...
DEV: changed routes in vue.js part questiongroupedit.js and deleted old controller+views
https://github.com/LimeSurvey/LimeSurvey/commit/d7a309bf1a73e95187528982b9db7ec03fee6913
CVE-2020-23710
['CWE-79']
assets/packages/questiongroup/build/js/questiongroupedit.js
0
js
false
2020-06-08T09:23:29Z
private static void loadPreferenceLine(String line) { if (line.isEmpty()) return; String[] args = line.split(":"); if (args.length < 2) return; String key = args[0].toUpperCase().trim(); String val = args[1].trim(); // for values that may have em...
private static void loadPreferenceLine(String line) { if (line.isEmpty()) return; String[] args = line.split(":"); if (args.length < 2) return; String key = args[0].toUpperCase().trim(); String val = args[1].trim(); // for values that may have em...
Default for Missile-base-limit and whether divert excess production to research are enabled is now configurable in Remnants.cfg (#68) * Update AISpyMaster.java I consider espionage and sabotage against darloks a bit of a fruitless endevour. * UI stuff Slight tweak to research-slider-allocation-management. Transport...
https://github.com/rayfowler/rotp-public/commit/ae8d59a471c4dfd937b78eea543333207c1009a8
null
null
src/rotp/ui/UserPreferences.java
0
java
false
2021-10-01T02:25:33Z
public List<GKEClusterVH> fetchGKEClusterInventory(ProjectVH project) throws IOException, GeneralSecurityException { List<GKEClusterVH> gkeClusterlist = new ArrayList<>(); logger.info("### GKe cluster collector ###########"); try { List<String> regions = gcPlocationUtil.getZoneList(...
public List<GKEClusterVH> fetchGKEClusterInventory(ProjectVH project) throws IOException, GeneralSecurityException { List<GKEClusterVH> gkeClusterlist = new ArrayList<>(); logger.info("### GKe cluster collector ###########"); try { List<String> regions = gcPlocationUtil.getZoneList(...
fix: addressed azure and gcp bug fixes
https://github.com/PaladinCloud/CE/commit/ae6a5b4c1636a53884d9fdaddbd288f722cf6e22
null
null
jobs/gcp-discovery/src/main/java/com/tmobile/pacbot/gcp/inventory/collector/GKEClusterInventoryCollector.java
0
java
false
null
@SubscribeEvent public void onPostChatEvent(ChatEvent.Post e) { if (McIf.getUnformattedText(e.getMessage()).matches("Type the price in emeralds or type 'cancel' to cancel:")) { priceInput = true; if (UtilitiesConfig.Market.INSTANCE.openChatMarket) scheduledGuiScreen =...
@SubscribeEvent public void onPostChatEvent(ChatEvent.Post e) { if (McIf.getUnformattedText(e.getMessage()).matches("Type the price in emeralds or type 'cancel' to cancel:")) { priceInput = true; if (UtilitiesConfig.Market.INSTANCE.openChatMarket) scheduledGuiScreen =...
feat: Implement dialogue hotbar button override (#399) * Implement dialogue hotbar button fix * Tighten dialogue state checks
https://github.com/Wynntils/Wynntils/commit/ecbd62849ae0bef80adf256cd009968c8a2c2756
null
null
src/main/java/com/wynntils/modules/utilities/events/ClientEvents.java
0
java
false
null
public static boolean attackEntity(IToolStackView tool, LivingEntity attackerLiving, InteractionHand hand, Entity targetEntity, DoubleSupplier cooldownFunction, boolean isExtraAttack, EquipmentSlot sourceSlot) { // broken? give to vanilla if (tool.isBroken() || !tool.hasTag(...
public static boolean attackEntity(IToolStackView tool, LivingEntity attackerLiving, InteractionHand hand, Entity targetEntity, DoubleSupplier cooldownFunction, boolean isExtraAttack, EquipmentSlot sourceSlot) { // broken? give to vanilla if (tool.isBroken() || !tool.hasTag(...
Fix chestplates being unable to attack (#5080)
https://github.com/SlimeKnights/TinkersConstruct/commit/ae60c1aec3b72eb31d63b75aa34e1b1b424a6e07
null
null
src/main/java/slimeknights/tconstruct/library/tools/helper/ToolAttackUtil.java
0
java
false
null
public void setUpArrows() { terminal.registerHandler(KEY_STROKE_UP, t -> { if(choiceIndex < 0) { originalInput = terminal.getPartialInput(); } if(choiceIndex < choices.length - 1) { choiceIndex++; t.replaceInput(choices[choiceIn...
private void setUpArrows() { terminal.registerHandler(KEY_STROKE_UP, t -> { if(choiceIndex < 0) { originalInput = terminal.getPartialInput(); } if(choiceIndex < choices.length - 1) { choiceIndex++; t.replaceInput(choices[choiceI...
Remove fixed Reporting Authorities Changes: - Deleted the ReportingAuthorityType enum - Settlement only holds the ReportingAuthoirty and does not return the type - Equality methods on ReportingAuthority - On save the restored ReportingAuthority instance override those loaded from the XML file - Dependent non-core clas...
https://github.com/mars-sim/mars-sim/commit/4b02ad2c07676c2952dd03f07c791f34d9418778
null
null
mars-sim-console/src/main/java/org/mars/sim/console/CommanderProfile.java
0
java
false
2021-08-04T16:56:43Z
void addCanPacketTables() { canPacketRawTableModel = new CanPacketRawTableModel(); canPacketRawTable = new JTable(canPacketRawTableModel); canPacketRawTable.setAutoCreateRowSorter(true); canPacketRawTable.addMouseListener(this); JScrollPane scrollPane = new JScrollPane (canPacketRawTable, JScrollPa...
void addCanPacketTables() { canPacketRawTableModel = new CanPacketRawTableModel(); canPacketRawTable = new JTable(canPacketRawTableModel); canPacketRawTable.setAutoCreateRowSorter(true); canPacketRawTable.addMouseListener(this); JScrollPane scrollPane = new JScrollPane (canPacketRawTable, JScrollPa...
#720 fix crash when arrow keys used in CAN Packet table
https://github.com/ac2cz/FoxTelem/commit/d98c5ffce18f34e9ef422ad8902475aa561550b9
null
null
src/gui/tabs/CanExperimentTab.java
0
java
false
2021-11-17T14:45:17Z
private static boolean isManaSourceReserved(Player ai, Card sourceCard, SpellAbility sa) { if (sa == null) { return false; } if (!(ai.getController() instanceof PlayerControllerAi)) { return false; } AiController aic = ((PlayerControllerAi)ai.getControlle...
private static boolean isManaSourceReserved(Player ai, Card sourceCard, SpellAbility sa) { if (sa == null) { return false; } if (!(ai.getController() instanceof PlayerControllerAi)) { return false; } // Mana reserved for spell synchronization if (...
Fix infinite looping with two Basalt Monolith
https://github.com/Card-Forge/forge/commit/d857694d7ca0ce0b82ada368fb0206a775d26153
null
null
forge-ai/src/main/java/forge/ai/ComputerUtilMana.java
0
java
false
2021-11-30T16:41:14Z
function hostbasedCb(buf, cb) { var signature = privateKey.sign(buf); if (signature instanceof Error) { signature.message = 'Error while signing data with privateKey: ' + signature.message; signature.level = 'client-authentication'; ...
function hostbasedCb(buf, cb) { const signature = privateKey.sign(buf); if (signature instanceof Error) { signature.message = `Error while signing with privateKey: ${signature.message}`; signature.level = 'client-authentication'; this.emi...
examples,lib,test: switch to code rewrite For more information see: https://github.com/mscdex/ssh2/issues/935
https://github.com/mscdex/ssh2/commit/f763271f41320e71d5cbee02ea5bc6a2ded3ca21
CVE-2020-26301
['CWE-78']
lib/client.js
0
js
false
2020-10-07T19:57:49Z
@Override public <TYPE> ColumnRegionObject<TYPE, Values> makeColumnRegionObject( @NotNull final ColumnDefinition<TYPE> columnDefinition) { // noinspection unchecked final Class<TYPE> dataType = columnDefinition.getDataType(); final ColumnChunkPageStore<ATTR>[] sources = getPageSt...
@Override public <TYPE> ColumnRegionObject<TYPE, Values> makeColumnRegionObject( @NotNull final ColumnDefinition<TYPE> columnDefinition) { // noinspection unchecked final Class<TYPE> dataType = columnDefinition.getDataType(); final ColumnChunkPageStore<ATTR>[] sources = getPageSt...
QST to graphviz DOT format; and SVG, PNG, and others (#935)
https://github.com/deephaven/deephaven-core/commit/7b2eacfb6aeb9ec889ca6bba02146d737856ed4c
null
null
DB/src/main/java/io/deephaven/db/v2/locations/parquet/local/ParquetColumnLocation.java
0
java
false
2021-08-26T19:49:30Z
public boolean containsCode() { return codeLength >= 0; }
public boolean containsCode() { return codeAndExceptions != null; }
Re-add uninlining for negative double/float consts (#10) * Re-add uninlining for negative double/float consts * Fix missing negative signs * Remove negative POSITIVE/NEGATIVE_INFINITYs
https://github.com/Earthcomputer/kotlin-decompiler/commit/b60ebfaaea4f6163eb3722a433398817773d8a8d
null
null
src/org/jetbrains/java/decompiler/struct/StructMethod.java
0
java
false
2021-05-29T23:35:09Z
public void clearWarnings() throws SQLException {}
public void clearWarnings() {}
fix(jdbc): getDate, getTime, and getTimestamp crash on empty text Closes: #490
https://github.com/xerial/sqlite-jdbc/commit/bc5174ba197e6e6a1d054542d3e63f1e7d09ccd9
null
null
src/main/java/org/sqlite/jdbc3/JDBC3ResultSet.java
0
java
false
2022-08-30T08:31:15Z
@Override public boolean place(ISeedReader world, ChunkGenerator chunkGenerator, Random random, BlockPos position, StructureTargetConfig config) { BlockPos.Mutable mutable = new BlockPos.Mutable(); BlockState chorusFlower = Blocks.CHORUS_FLOWER.defaultBlockState(); for(int i = 0; i < confi...
@Override public boolean place(ISeedReader world, ChunkGenerator chunkGenerator, Random random, BlockPos position, StructureTargetConfig config) { BlockPos.Mutable mutable = new BlockPos.Mutable(); BlockState chorusFlower = Blocks.CHORUS_FLOWER.defaultBlockState(); for(int i = 0; i < confi...
fixed translations and fluid separation
https://github.com/TelepathicGrunt/RepurposedStructures/commit/ea4158695280e6091435af8aeb5b70ef74c889a2
null
null
src/main/java/com/telepathicgrunt/repurposedstructures/world/features/StructureChorus.java
0
java
false
2021-06-06T21:58:13Z
private void onFinishInflate() { loadDimens(); mKeyguardStatusBar = mView.findViewById(R.id.keyguard_header); mBigClockContainer = mView.findViewById(R.id.big_clock_container); UserAvatarView userAvatarView = null; KeyguardUserSwitcherView keyguardUserSwitcherView = null; ...
private void onFinishInflate() { loadDimens(); mKeyguardStatusBar = mView.findViewById(R.id.keyguard_header); mBigClockContainer = mView.findViewById(R.id.big_clock_container); UserAvatarView userAvatarView = null; KeyguardUserSwitcherView keyguardUserSwitcherView = null; ...
Fix drag down animation when bypassing The drag down animation didn't do the transition to the full shade visually, so things would look out of place. Fixes: 191282610 Test: drag down while bypassing Change-Id: Icdd62155f3762621c1046ed5271476ec0b4e2635 Merged-In: Icdd62155f3762621c1046ed5271476ec0b4e2635
https://github.com/PixelExperience/frameworks_base/commit/286825f60c9f3e6155e9429eb8d6c312da562121
null
null
packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java
0
java
false
null
private void startForegroundService() { notificationManager = NotificationManagerCompat.from(this); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { createNotificationChannel(CHANNEL_ID, CHANNEL_NAME); } remoteViewsSmall = new RemoteViews(getPackageName(), R.layout.layout_play_notification_small); r...
private void startForegroundService() { notificationManager = NotificationManagerCompat.from(this); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { createNotificationChannel(CHANNEL_ID, CHANNEL_NAME); } remoteViewsSmall = new RemoteViews(getPackageName(), R.layout.layout_play_notification_small); r...
Fixed notifications progress update app crash
https://github.com/Dimowner/AudioRecorder/commit/16ebdf529e048332c210e86747428d3332d6f45a
null
null
app/src/main/java/com/dimowner/audiorecorder/app/PlaybackService.java
0
java
false
2021-11-16T18:49:45Z
protected static string GetMappedPath(BaseItem item, string path, MediaProtocol? protocol) { if (protocol.HasValue && protocol.Value == MediaProtocol.File) { return LibraryManager.GetPathAfterNetworkSubstitution(path, item); } return path; ...
protected static string GetMappedPath(BaseItem item, string path, MediaProtocol? protocol) { if (protocol == MediaProtocol.File) { return LibraryManager.GetPathAfterNetworkSubstitution(path, item); } return path; }
Merge remote-tracking branch 'upstream/master' into client-logger
https://github.com/jellyfin/jellyfin/commit/d3d9311f486e2a33b40cf0db7958cf5faaf22124
null
null
MediaBrowser.Controller/Entities/BaseItem.cs
0
cs
false
2021-11-05T19:12:37Z
static int _Py_SetArgcArgv(Py_ssize_t argc, wchar_t * const *argv) { const PyWideStringList argv_list = {.length = argc, .items = (wchar_t **)argv}; int res; PyMemAllocatorEx old_alloc; _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); // XXX _PyRuntime.orig_argv only gets cleared by Py_Ma...
static int _Py_SetArgcArgv(Py_ssize_t argc, wchar_t * const *argv) { const PyWideStringList argv_list = {.length = argc, .items = (wchar_t **)argv}; int res; PyMemAllocatorEx old_alloc; _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); // XXX _PyRuntime.orig_argv only gets cleared by Py_Ma...
Merge remote-tracking branch 'upstream/main' into 106242
https://github.com/python/cpython/commit/726da048d4c8bbdcf332fe43d6c41a232337b66f
null
null
Python/initconfig.c
0
c
false
2023-07-03T19:38:51Z
@Override public void renderButton(PoseStack matrices, int mouseX, int mouseY, float delta) { Font textRenderer = client.font; RenderSystem.setShader(GameRenderer::getPositionTexShader); RenderSystem.setShaderTexture(0, WIDGETS_LOCATION); RenderSystem.setShaderColor(1.0F, 1.0F, 1.0F,...
@Override public void renderButton(PoseStack matrices, int mouseX, int mouseY, float delta) { Font textRenderer = client.font; RenderSystem.setShader(GameRenderer::getPositionTexShader); RenderSystem.setShaderTexture(0, WIDGETS_LOCATION); RenderSystem.setShaderColor(1.0F, 1.0F, 1.0F,...
• Downgrade Fabric API • Fixed #110
https://github.com/plasmoapp/plasmo-voice/commit/9006b52de09c70b253be1134ea10e42fc81f9f95
null
null
common/src/main/java/su/plo/voice/client/gui/widgets/MicrophoneThresholdWidget.java
0
java
false
2021-10-23T12:03:33Z
@Override protected boolean enableTextToSpeech() { return false; }
@Override public boolean enableTextToSpeech() { return false; }
fix crash, i hope closes #147
https://github.com/badasintended/wthit/commit/e5279e894012592edde52e2a8d222aa27268851e
null
null
src/main/java/mcp/mobius/waila/gui/screen/ThemeEditorScreen.java
0
java
false
2022-07-02T08:06:27Z
public int getConcurrency() throws SQLException { return ResultSet.CONCUR_READ_ONLY; }
public int getConcurrency() { return ResultSet.CONCUR_READ_ONLY; }
fix(jdbc): getDate, getTime, and getTimestamp crash on empty text Closes: #490
https://github.com/xerial/sqlite-jdbc/commit/bc5174ba197e6e6a1d054542d3e63f1e7d09ccd9
null
null
src/main/java/org/sqlite/jdbc3/JDBC3ResultSet.java
0
java
false
2022-08-30T08:31:15Z
def POST(self, path, body=None, ensure_encoding=True, log_request_body=True): return self._request('POST', path, body=body, ensure_encoding=ensure_encoding, log_request_body=log_request_body)
def POST(self, path, body=None, ensure_encoding=True, log_request_body=True, ignore_prefix=False): return self._request('POST', path, body=body, ensure_encoding=ensure_encoding, log_request_body=log_request_body, ignore_prefix=ignore_prefix)
convert consumer register to bindings
https://github.com/pulp/pulp/commit/b542d7465f7e6e02e1ea1aec059ac607a65cefe7
null
null
bindings/pulp/bindings/server.py
0
py
false
2015-09-04T19:29:00Z
@EventListener(priority = ListenerPriority.HIGH) private static void init(TextureRegisterEvent event) { TERRAIN = new SquareAtlas("/terrain.png", 16).setTessellator(Tessellator.INSTANCE); GUI_ITEMS = new SquareAtlas("/gui/items.png", 16); STATION_TERRAIN = new ExpandableAtlas(of(StationAPI.M...
@EventListener(priority = ListenerPriority.HIGH) private static void init(TextureRegisterEvent event) { TERRAIN = new SquareAtlas("/terrain.png", 16).setTessellator(Tessellator.INSTANCE); GUI_ITEMS = new SquareAtlas("/gui/items.png", 16); STATION_TERRAIN = new ExpandableAtlas(of(StationAPI.M...
Refactored PR #15
https://github.com/ModificationStation/StationAPI/commit/2eb940e6cb777415a097fc565fd38e904fb9a442
null
null
station-render-api-v0/src/main/java/net/modificationstation/stationapi/impl/client/texture/TextureInit.java
0
java
false
2021-09-18T22:09:51Z
@Method(0x8001bbccL) public static void FUN_8001bbcc(final int x, final int y) { FUN_8001b92c(); final long s2 = _800bd700.getAddress(); long packet; if(doubleBufferFrame_800bb108.get() != 0) { //LAB_8001bf3c GPU.queueCommand(6, new GpuCommandPoly(4) .bpp(Bpp.BITS_15) .vra...
@Method(0x8001bbccL) public static void FUN_8001bbcc(final int x, final int y) { FUN_8001b92c(); final long s2 = _800bd700.getAddress(); long packet; if(doubleBufferFrame_800bb108.get() != 0) { //LAB_8001bf3c GPU.queueCommand(6, new GpuCommandPoly(4) .bpp(Bpp.BITS_15) .vra...
Cleanup; fix item list; fix addition squares not being red on counter-attack
https://github.com/Legend-of-Dragoon-Modding/Severed-Chains/commit/f99608ab535148601d96a08d1dce2806342fd5dd
null
null
src/main/java/legend/game/Scus94491BpeSegment.java
0
java
false
2022-11-02T20:33:19Z
public static void init() { ResourceManagerHelper.get(ResourceType.SERVER_DATA).registerReloadListener(new BodyManager.ReloadListener()); ServerWorldEvents.LOAD.register(BodyManager::onWorldLoad); ServerWorldEvents.UNLOAD.register(BodyManager::onWorldUnload); ServerPlayConnectionEvents.JOIN.register(BodyM...
public static void init() { ResourceManagerHelper.get(ResourceType.SERVER_DATA).registerReloadListener(new BodyManager.ReloadListener()); ServerWorldEvents.LOAD.register(BodyManager::onWorldLoad); ServerWorldEvents.UNLOAD.register(BodyManager::onWorldUnload); ServerPlayConnectionEvents.JOIN.register(BodyM...
fix: include generated resources in source set
https://github.com/Mixinors/Astromine/commit/81db045c3b63a9a641374cff762528ec71c1ea66
null
null
src/main/java/com/github/mixinors/astromine/registry/common/AMEvents.java
0
java
false
null
@SuppressLint("NotifyDataSetChanged") private void updateRowsId(boolean notify) { rowCount = 0; cameraTypeHeaderRow = -1; cameraTypeSelectorRow = -1; cameraXOptimizeRow = -1; cameraXFpsRow = -1; cameraAdviseRow = -1; suppressionRow = -1; stickerSizeHe...
@SuppressLint("NotifyDataSetChanged") private void updateRowsId(boolean notify) { rowCount = 0; cameraTypeHeaderRow = -1; cameraTypeSelectorRow = -1; cameraXOptimizeRow = -1; cameraXFpsRow = -1; cameraAdviseRow = -1; suppressionRow = -1; stickerSizeHe...
Fixed Some Crash & Removed Scrollable Chat Preview
https://github.com/OwlGramDev/OwlGram/commit/9797c903f77da2bccc5b2bd250a0a742b092fb90
null
null
TMessagesProj/src/main/java/it/owlgram/android/settings/OwlgramChatSettings.java
0
java
false
2022-06-26T16:22:53Z
private void batchEditLyrics() { LayoutInflater inflater = this.getLayoutInflater(); final View view = inflater.inflate(R.layout.dialog_adjust, null); final TextView batchTitle = view.findViewById(R.id.title); batchTitle.setText(R.string.batch_edit_prompt); final TextView batchTimestamp = view.findViewById(R....
private void batchEditLyrics() { LayoutInflater inflater = this.getLayoutInflater(); final View view = inflater.inflate(R.layout.dialog_adjust, null); final TextView batchTitle = view.findViewById(R.id.title); batchTitle.setText(R.string.batch_edit_prompt); final TextView batchTimestamp = view.findViewById(R....
Crash fixes I can't reproduce these issues but I got some crash reports on them
https://github.com/Spikatrix/LRC-Editor/commit/53cec5920f83a88d33ec7759c405cbc37467018b
null
null
app/src/main/java/com/cg/lrceditor/EditorActivity.java
0
java
false
2021-02-25T16:29:28Z
@Override public boolean canUse() { return mob.canSummon() && !done; }
@Override public boolean canUse() { return mob.canSummon(); }
Dynamic summoning, ram attack
https://github.com/baileyholl/Ars-Nouveau/commit/69794838e7700e1d8246134bcacfa688dd40fc8b
null
null
src/main/java/com/hollingsworth/arsnouveau/common/entity/goal/chimera/ChimeraSummonGoal.java
0
java
false
2021-07-16T03:00:18Z
function Q(e){return"undefined"==typeof BigInt?ee:e}
function Q(e){var t=e.return;t&&t.call(e)}
base64 encode encrypted Signed-off-by: Louis Chemineau <louis@chmn.me>
https://github.com/nextcloud/end_to_end_encryption/commit/d120dfa76ca0b7b66591589e7333ea853159e1c3
CVE-2023-35173
['CWE-284', 'NVD-CWE-Other']
js/end_to_end_encryption-filedrop.js
0
js
false
2023-03-30T11:05:29Z
public void printCandidates(String type){ if("payloads".equals(type) && isExploit && exploit != null){ Class<?> clazz = exploit.getClass(); if(payload != null){ Logger.normal("Current Payload: "+ColorStyle.makeWordRed(payload.getClass().getSimpleName())); }els...
public void printCandidates(String type){ if("payloads".equals(type) && isExploit && exploit != null){ Class<?> clazz = exploit.getClass(); if(payload != null){ Logger.normal("Current Payload: "+ColorStyle.makeWordRed(payload.getClass().getSimpleName())); }els...
add some exploits' script
https://github.com/wh1t3p1g/ysomap/commit/5d9b4bf9baec7caa3d31e25ca1b90de93408a9a0
null
null
cli/src/main/java/ysomap/cli/Session.java
0
java
false
2021-06-16T15:18:32Z
static void finish_object(struct object *obj, struct strbuf *path, const char *name, void *cb_data) { struct rev_list_info *info = cb_data; if (obj->type == OBJ_BLOB && !has_object_file(&obj->oid)) die("missing blob object '%s'", oid_to_hex(&obj->oid)); if (info->revs->verify_objects && !obj->parsed && o...
static void finish_object(struct object *obj, const char *name, void *cb_data) { struct rev_list_info *info = cb_data; if (obj->type == OBJ_BLOB && !has_object_file(&obj->oid)) die("missing blob object '%s'", oid_to_hex(&obj->oid)); if (info->revs->verify_objects && !obj->parsed && obj->type != OBJ_COMMIT) parse...
list-objects: pass full pathname to callbacks When we find a blob at "a/b/c", we currently pass this to our show_object_fn callbacks as two components: "a/b/" and "c". Callbacks which want the full value then call path_name(), which concatenates the two. But this is an inefficient interface; the path is a strbuf, and ...
https://github.com/git/git/commit/de1e67d0703894cb6ea782e36abb63976ab07e60
null
null
builtin/rev-list.c
0
c
false
null
@Override public void onInitialize() { Registry.register(Registry.ITEM, new Identifier("bettercombat", "claymore"), CLAYMORE); ClientLifecycleEvents.CLIENT_STARTED.register((client) -> { loadAnimations("slash"); }); }
@Override public void onInitialize() { Registry.register(Registry.ITEM, new Identifier("bettercombat", "claymore"), CLAYMORE); WeaponRegistry.register(new Identifier("bettercombat", "claymore"), new MeleeWeaponAttributes()); }
Add attack speed support
https://github.com/ZsoltMolnarrr/BetterCombat/commit/5bafbaa6cd2da60b7a377be164e20c4bb5713368
null
null
src/main/java/net/bettercombat/BetterCombat.java
0
java
false
2022-05-10T20:50:54Z
private ActionDumpWriter createActionDumpWriter(CommandEnvironment env) throws InvalidPackagePathSymlinkException, ActionDumpFileCreationException { OptionsParsingResult parsingResult = env.getOptions(); BuildEventProtocolOptions bepOptions = Preconditions.checkNotNull(parsingResult.getOptions(Bui...
private ActionDumpWriter createActionDumpWriter(CommandEnvironment env) throws InvalidPackagePathSymlinkException, ActionDumpFileCreationException { OptionsParsingResult parsingResult = env.getOptions(); BuildEventProtocolOptions bepOptions = checkNotNull(parsingResult.getOptions(BuildEventProtoco...
Add shared actions to the execution graph. Currently, only the action that wins the execution race is represented in the execution graph. Dependency edges on actions which lose the shared action execution race are not represented. This could result in an underestimated critical path. With this change, shared actions ...
https://github.com/bazelbuild/bazel/commit/2036a0f0fa093d6e48fc02431e28734907cfca63
null
null
src/main/java/com/google/devtools/build/lib/runtime/ExecutionGraphModule.java
0
java
false
null