Shared security patch analysis results
AI Used: claude_cli--- cache/mybb_mybb_1839/inc/functions_search.php 2025-12-04 20:11:11.910156464 +0000+++ cache/mybb_mybb_1839_build/inc/functions_search.php 2025-12-04 20:11:12.738207948 +0000@@ -1421,7 +1421,7 @@ $query = $db->query(" SELECT t.tid, t.firstpost FROM ".TABLE_PREFIX."threads t- WHERE 1=1 {$thread_datecut} {$thread_replycut} {$thread_prefixcut} {$forumin} {$thread_usersql} {$permsql} {$visiblesql} AND ({$unapproved_where_t}) {$subject_lookin}+ WHERE 1=1 {$thread_datecut} {$thread_replycut} {$thread_prefixcut} {$forumin} {$thread_usersql} {$permsql} {$visiblesql} {$subject_lookin} {$limitsql} "); while($thread = $db->fetch_array($query))@@ -1772,7 +1772,7 @@ $query = $db->query(" SELECT t.tid, t.firstpost FROM ".TABLE_PREFIX."threads t- WHERE 1=1 {$thread_datecut} {$thread_replycut} {$thread_prefixcut} {$forumin} {$thread_usersql} {$permsql} {$visiblesql} AND ({$unapproved_where_t}) {$subject_lookin}+ WHERE 1=1 {$thread_datecut} {$thread_replycut} {$thread_prefixcut} {$forumin} {$thread_usersql} {$permsql} {$visiblesql} {$subject_lookin} {$limitsql} "); while($thread = $db->fetch_array($query))
--- cache/mybb_mybb_1839/install/upgrade.php 2025-12-04 20:11:11.938158205 +0000+++ cache/mybb_mybb_1839_build/install/upgrade.php 2025-12-04 20:11:12.762209440 +0000@@ -422,16 +422,8 @@ $bits = explode("_", $mybb->input['action'], 2); if(!empty($bits[1])) // We're still running a module {- if(ctype_alnum($bits[0]))- {- $from = $bits[0];- }- else- {- $from = 0;- }-- $runfunction = next_function($from, $bits[1]);+ $from = $bits[0];+ $runfunction = next_function($bits[0], $bits[1]); } }@@ -768,11 +760,6 @@ { global $oldvers, $system_upgrade_detail, $currentscript, $cache; - if(!ctype_alnum($from))- {- $from = 0;- }- load_module("upgrade".$from.".php"); if(function_exists("upgrade".$from."_".$func)) {