<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>70947</bug_id>
          
          <creation_ts>2011-10-26 11:28:18 -0700</creation_ts>
          <short_desc>SIGBUS in PluginDatabase readTime on sparc/solaris 10</short_desc>
          <delta_ts>2022-06-30 13:54:24 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="The Written Word">bugs-webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>rniwa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>491034</commentid>
    <comment_count>0</comment_count>
    <who name="The Written Word">bugs-webkit</who>
    <bug_when>2011-10-26 11:28:18 -0700</bug_when>
    <thetext>Crashes in Source/WebCore/plugins/PluginDatabase.cpp:511 -
    resultTime = *reinterpret_cast_ptr&lt;time_t*&gt;(start);

Because start is not aligned on a 32 bit boundary.

Using memcpy fixes this for us. i.e.
     memcpy(&amp;resultTime,start,sizeof(time_t));</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1879378</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-06-30 09:14:38 -0700</bug_when>
    <thetext>Webkit &gt; WebCore source on Github does not have &quot;PluginDatabase.cpp&quot; file:

https://github.com/WebKit/WebKit/tree/e4e4bba1f291d4773b907199bb5e6976d14c223d/Source/WebCore/plugins

Only reference to :PluginDatabase.cpp&quot; exist in following file (in comment):
https://github.com/WebKit/WebKit/blob/e4e4bba1f291d4773b907199bb5e6976d14c223d/Source/WebCore/plugins/PluginData.h#L95

Which might be Not Applicable now.

There are two more reference to &quot;PluginDatabase.cpp&quot; but they are in WebkitLegacy (for Mac):

https://github.com/WebKit/WebKit/blob/1c6be76d456bf2887e32c236bdaf6f24c2b353ae/Source/WebKitLegacy/mac/WebView/WebViewData.h#L298

https://github.com/WebKit/WebKit/blob/5ddb4127ac4e4a104338422e546a1cdc7b698769/Source/WebKitLegacy/mac/WebView/WebView.mm#L1739

I think for Solaris / Spar port, the plugin support has been removed similar to other and I think this can be marked as &quot;RESOLVED WONTFIX&quot;. Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>