<?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>117832</bug_id>
          
          <creation_ts>2013-06-20 06:26:37 -0700</creation_ts>
          <short_desc>[Win] Crash when scrolling page with GIF images.</short_desc>
          <delta_ts>2013-07-01 10:29:41 -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>Images</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.apple.com/apple-events/june-2013/</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>peavo</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>commit-queue</cc>
    
    <cc>eflews.bot</cc>
    
    <cc>gyuyoung.kim</cc>
    
    <cc>webkit-ews</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>902120</commentid>
    <comment_count>0</comment_count>
    <who name="">peavo</who>
    <bug_when>2013-06-20 06:26:37 -0700</bug_when>
    <thetext>I sometimes get a crash when scrolling pages with gif images.

The crash happens at line 226 in WebCore/platform/image-decoders/gif/GIFImageDecoder.cpp (buffer.setRGBA(currentAddress, ...)), because currentAddress points to an invalid address (close to 0x0).
The address is invalid because the m_bytes member of the local variable buffer (type ImageFrame) is NULL, and currentAddress is an offset of the m_bytes value.

Here is the stack:

&gt;	WebKit.dll!WebCore::GIFImageDecoder::haveDecodedRow(unsigned int frameIndex, const WTF::Vector&lt;unsigned char,0,WTF::CrashOnOverflow&gt; &amp; rowBuffer, unsigned int width, unsigned int rowNumber, unsigned int repeatCount, bool writeTransparentPixels)  Line 226 + 0x27 bytes	C++
 	WebKit.dll!GIFLZWContext::outputRow()  Line 152 + 0x2e bytes	C++
 	WebKit.dll!GIFLZWContext::doLZW(const unsigned char * block, unsigned int bytesInBlock)  Line 306 + 0x7 bytes	C++
 	WebKit.dll!GIFFrameContext::decode(const unsigned char * data, unsigned int length, WebCore::GIFImageDecoder * client, bool * frameDecoded)  Line 340 + 0x11 bytes	C++
 	WebKit.dll!GIFImageReader::decode(WebCore::GIFImageDecoder::GIFQuery query, unsigned int haltAtFrame)  Line 371 + 0x27 bytes	C++
 	WebKit.dll!WebCore::GIFImageDecoder::decode(unsigned int haltAtFrame, WebCore::GIFImageDecoder::GIFQuery query)  Line 333 + 0x11 bytes	C++
 	WebKit.dll!WebCore::GIFImageDecoder::frameBufferAtIndex(unsigned int index)  Line 125	C++
 	WebKit.dll!WebCore::ImageSource::createFrameAtIndex(unsigned int index)  Line 144 + 0xb bytes	C++
 	WebKit.dll!WebCore::BitmapImage::cacheFrame(unsigned int index)  Line 137 + 0x21 bytes	C++
 	WebKit.dll!WebCore::BitmapImage::frameIsCompleteAtIndex(unsigned int index)  Line 310	C++
 	WebKit.dll!WebCore::BitmapImage::startAnimation(bool catchUpIfNecessary)  Line 452 + 0x17 bytes	C++
 	WebKit.dll!WebCore::BitmapImage::draw(WebCore::GraphicsContext * context, const WebCore::FloatRect &amp; dst, const WebCore::FloatRect &amp; src, WebCore::ColorSpace styleColorSpace, WebCore::CompositeOperator op, WebCore::BlendMode blendMode, WebCore::RespectImageOrientationEnum shouldRespectImageOrientation)  Line 80	C++
 	WebKit.dll!WebCore::BitmapImage::draw(WebCore::GraphicsContext * context, const WebCore::FloatRect &amp; dst, const WebCore::FloatRect &amp; src, WebCore::ColorSpace styleColorSpace, WebCore::CompositeOperator op, WebCore::BlendMode blendMode)  Line 70	C++
 	WebKit.dll!WebCore::Image::drawTiled(WebCore::GraphicsContext * ctxt, const WebCore::FloatRect &amp; destRect, const WebCore::FloatPoint &amp; srcPoint, const WebCore::FloatSize &amp; scaledTileSize, WebCore::ColorSpace styleColorSpace, WebCore::CompositeOperator op, WebCore::BlendMode blendMode)  Line 128 + 0x64 bytes	C++
 	WebKit.dll!WebCore::GraphicsContext::drawTiledImage(WebCore::Image * image, WebCore::ColorSpace styleColorSpace, const WebCore::IntRect &amp; destRect, const WebCore::IntPoint &amp; srcPoint, const WebCore::IntSize &amp; tileSize, WebCore::CompositeOperator op, bool useLowQualityScale, WebCore::BlendMode blendMode)  Line 532 + 0x44 bytes	C++
 	WebKit.dll!WebCore::RenderBoxModelObject::paintFillLayerExtended(const WebCore::PaintInfo &amp; paintInfo, const WebCore::Color &amp; color, const WebCore::FillLayer * bgLayer, const WebCore::LayoutRect &amp; rect, WebCore::BackgroundBleedAvoidance bleedAvoidance, WebCore::InlineFlowBox * box, const WebCore::LayoutSize &amp; boxSize, WebCore::CompositeOperator op, WebCore::RenderObject * backgroundObject)  Line 988	C++
 	WebKit.dll!WebCore::RenderBox::paintFillLayers(const WebCore::PaintInfo &amp; paintInfo, const WebCore::Color &amp; c, const WebCore::FillLayer * fillLayer, const WebCore::LayoutRect &amp; rect, WebCore::BackgroundBleedAvoidance bleedAvoidance, WebCore::CompositeOperator op, WebCore::RenderObject * backgroundObject)  Line 1390 + 0x32 bytes	C++
 	WebKit.dll!WebCore::RenderBox::paintBackground(const WebCore::PaintInfo &amp; paintInfo, const WebCore::LayoutRect &amp; paintRect, WebCore::BackgroundBleedAvoidance bleedAvoidance)  Line 1140 + 0x2d bytes	C++
 	WebKit.dll!WebCore::RenderBox::paintBoxDecorations(WebCore::PaintInfo &amp; paintInfo, const WebCore::LayoutPoint &amp; paintOffset)  Line 1117	C++
 	WebKit.dll!WebCore::RenderBlock::paintObject(WebCore::PaintInfo &amp; paintInfo, const WebCore::LayoutPoint &amp; paintOffset)  Line 3233	C++
 	WebKit.dll!WebCore::RenderBlock::paint(WebCore::PaintInfo &amp; paintInfo, const WebCore::LayoutPoint &amp; paintOffset)  Line 2973	C++
 	WebKit.dll!WebCore::RenderLayer::paintBackgroundForFragments(const WTF::Vector&lt;WebCore::LayerFragment,1,WTF::CrashOnOverflow&gt; &amp; layerFragments, WebCore::GraphicsContext * context, WebCore::GraphicsContext * transparencyLayerContext, const WebCore::LayoutRect &amp; transparencyPaintDirtyRect, bool haveTransparency, const WebCore::RenderLayer::LayerPaintingInfo &amp; localPaintingInfo, unsigned int paintBehavior, WebCore::RenderObject * subtreePaintRootForRenderer)  Line 4176	C++
 	WebKit.dll!WebCore::RenderLayer::paintLayerContents(WebCore::GraphicsContext * context, const WebCore::RenderLayer::LayerPaintingInfo &amp; paintingInfo, unsigned int paintFlags)  Line 3931 + 0x33 bytes	C++
 	WebKit.dll!WebCore::RenderLayer::paintLayerContentsAndReflection(WebCore::GraphicsContext * context, const WebCore::RenderLayer::LayerPaintingInfo &amp; paintingInfo, unsigned int paintFlags)  Line 3701 + 0x13 bytes	C++
 	WebKit.dll!WebCore::RenderLayer::paintLayer(WebCore::GraphicsContext * context, const WebCore::RenderLayer::LayerPaintingInfo &amp; paintingInfo, unsigned int paintFlags)  Line 3684	C++
 	WebKit.dll!WebCore::RenderLayer::paintList(WTF::Vector&lt;WebCore::RenderLayer *,0,WTF::CrashOnOverflow&gt; * list, WebCore::GraphicsContext * context, const WebCore::RenderLayer::LayerPaintingInfo &amp; paintingInfo, unsigned int paintFlags)  Line 4028	C++
 	WebKit.dll!WebCore::RenderLayer::paintLayerContents(WebCore::GraphicsContext * context, const WebCore::RenderLayer::LayerPaintingInfo &amp; paintingInfo, unsigned int paintFlags)  Line 3955	C++
 	WebKit.dll!WebCore::RenderLayer::paintLayerContentsAndReflection(WebCore::GraphicsContext * context, const WebCore::RenderLayer::LayerPaintingInfo &amp; paintingInfo, unsigned int paintFlags)  Line 3701 + 0x13 bytes	C++
 	WebKit.dll!WebCore::RenderLayer::paintLayer(WebCore::GraphicsContext * context, const WebCore::RenderLayer::LayerPaintingInfo &amp; paintingInfo, unsigned int paintFlags)  Line 3684	C++
 	WebKit.dll!WebCore::RenderLayer::paintList(WTF::Vector&lt;WebCore::RenderLayer *,0,WTF::CrashOnOverflow&gt; * list, WebCore::GraphicsContext * context, const WebCore::RenderLayer::LayerPaintingInfo &amp; paintingInfo, unsigned int paintFlags)  Line 4028	C++
 	WebKit.dll!WebCore::RenderLayer::paintLayerContents(WebCore::GraphicsContext * context, const WebCore::RenderLayer::LayerPaintingInfo &amp; paintingInfo, unsigned int paintFlags)  Line 3955	C++
 	WebKit.dll!WebCore::RenderLayer::paintLayerContentsAndReflection(WebCore::GraphicsContext * context, const WebCore::RenderLayer::LayerPaintingInfo &amp; paintingInfo, unsigned int paintFlags)  Line 3701 + 0x13 bytes	C++
 	WebKit.dll!WebCore::RenderLayer::paintLayer(WebCore::GraphicsContext * context, const WebCore::RenderLayer::LayerPaintingInfo &amp; paintingInfo, unsigned int paintFlags)  Line 3684	C++
 	WebKit.dll!WebCore::RenderLayer::paint(WebCore::GraphicsContext * context, const WebCore::LayoutRect &amp; damageRect, unsigned int paintBehavior, WebCore::RenderObject * subtreePaintRoot, WebCore::RenderRegion * region, unsigned int paintFlags)  Line 3496	C++
 	WebKit.dll!WebCore::FrameView::paintContents(WebCore::GraphicsContext * p, const WebCore::IntRect &amp; rect)  Line 3552	C++
 	WebKit.dll!WebCore::ScrollView::paint(WebCore::GraphicsContext * context, const WebCore::IntRect &amp; rect)  Line 1095	C++
 	WebKit.dll!WebView::paintIntoBackingStore(WebCore::FrameView * frameView, HDC__ * bitmapDC, const WebCore::IntRect &amp; dirtyRect, WebView::WindowsToPaint windowsToPaint)  Line 1185	C++
 	WebKit.dll!WebView::updateBackingStore(WebCore::FrameView * frameView, HDC__ * dc, bool backingStoreCompletelyDirty, WebView::WindowsToPaint windowsToPaint)  Line 1015 + 0x14 bytes	C++
 	WebKit.dll!WebView::scrollBackingStore(WebCore::FrameView * frameView, int dx, int dy, const WebCore::IntRect &amp; scrollViewRect, const WebCore::IntRect &amp; clipRect)  Line 918	C++
 	WebKit.dll!WebChromeClient::scroll(const WebCore::IntSize &amp; delta, const WebCore::IntRect &amp; scrollViewRect, const WebCore::IntRect &amp; clipRect)  Line 485 + 0x35 bytes	C++
 	WebKit.dll!WebCore::Chrome::scroll(const WebCore::IntSize &amp; scrollDelta, const WebCore::IntRect &amp; rectToScroll, const WebCore::IntRect &amp; clipRect)  Line 100	C++
 	WebKit.dll!WebCore::FrameView::scrollContentsFastPath(const WebCore::IntSize &amp; scrollDelta, const WebCore::IntRect &amp; rectToScroll, const WebCore::IntRect &amp; clipRect)  Line 1722	C++
 	WebKit.dll!WebCore::ScrollView::scrollContents(const WebCore::IntSize &amp; scrollDelta)  Line 686 + 0x2a bytes	C++
 	WebKit.dll!WebCore::ScrollView::scrollTo(const WebCore::IntSize &amp; newOffset)  Line 394	C++
 	WebKit.dll!WebCore::FrameView::scrollTo(const WebCore::IntSize &amp; newOffset)  Line 3021	C++
 	WebKit.dll!WebCore::ScrollView::setScrollOffset(const WebCore::IntPoint &amp; offset)  Line 373 + 0x15 bytes	C++
 	WebKit.dll!WebCore::ScrollableArea::scrollPositionChanged(const WebCore::IntPoint &amp; position)  Line 147	C++
 	WebKit.dll!WebCore::ScrollableArea::setScrollOffsetFromAnimation(const WebCore::IntPoint &amp; offset)  Line 190 + 0x8 bytes	C++
 	WebKit.dll!WebCore::ScrollAnimator::notifyPositionChanged(const WebCore::FloatSize &amp; delta)  Line 142 + 0x22 bytes	C++
 	WebKit.dll!WebCore::ScrollAnimator::scroll(WebCore::ScrollbarOrientation orientation, WebCore::ScrollGranularity __formal, float step, float multiplier)  Line 71 + 0x28 bytes	C++
 	WebKit.dll!WebCore::ScrollAnimator::handleWheelEvent(const WebCore::PlatformWheelEvent &amp; e)  Line 112 + 0x1f bytes	C++
 	WebKit.dll!WebCore::ScrollableArea::handleWheelEvent(const WebCore::PlatformWheelEvent &amp; wheelEvent)  Line 176 + 0x4a bytes	C++
 	WebKit.dll!WebCore::FrameView::wheelEvent(const WebCore::PlatformWheelEvent &amp; wheelEvent)  Line 4084 + 0xc bytes	C++
 	WebKit.dll!WebCore::EventHandler::handleWheelEvent(const WebCore::PlatformWheelEvent &amp; e)  Line 2472 + 0x10 bytes	C++
 	WebKit.dll!WebView::mouseWheel(unsigned int wParam, long lParam, bool isMouseHWheel)  Line 1762	C++
 	WebKit.dll!WebView::WebViewWndProc(HWND__ * hWnd, unsigned int message, unsigned int wParam, long lParam)  Line 2233	C++</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>902122</commentid>
    <comment_count>1</comment_count>
      <attachid>205081</attachid>
    <who name="">peavo</who>
    <bug_when>2013-06-20 06:37:03 -0700</bug_when>
    <thetext>Created attachment 205081
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>902124</commentid>
    <comment_count>2</comment_count>
      <attachid>205081</attachid>
    <who name="EFL EWS Bot">eflews.bot</who>
    <bug_when>2013-06-20 06:41:32 -0700</bug_when>
    <thetext>Comment on attachment 205081
Patch

Attachment 205081 did not pass efl-ews (efl):
Output: http://webkit-queues.appspot.com/results/904720</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>902125</commentid>
    <comment_count>3</comment_count>
      <attachid>205081</attachid>
    <who name="Early Warning System Bot">webkit-ews</who>
    <bug_when>2013-06-20 06:41:35 -0700</bug_when>
    <thetext>Comment on attachment 205081
Patch

Attachment 205081 did not pass qt-ews (qt):
Output: http://webkit-queues.appspot.com/results/880524</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>902126</commentid>
    <comment_count>4</comment_count>
      <attachid>205081</attachid>
    <who name="Early Warning System Bot">webkit-ews</who>
    <bug_when>2013-06-20 06:42:46 -0700</bug_when>
    <thetext>Comment on attachment 205081
Patch

Attachment 205081 did not pass qt-wk2-ews (qt-wk2):
Output: http://webkit-queues.appspot.com/results/942523</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>902127</commentid>
    <comment_count>5</comment_count>
      <attachid>205081</attachid>
    <who name="EFL EWS Bot">eflews.bot</who>
    <bug_when>2013-06-20 06:42:50 -0700</bug_when>
    <thetext>Comment on attachment 205081
Patch

Attachment 205081 did not pass efl-wk2-ews (efl-wk2):
Output: http://webkit-queues.appspot.com/results/943514</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>902139</commentid>
    <comment_count>6</comment_count>
      <attachid>205086</attachid>
    <who name="">peavo</who>
    <bug_when>2013-06-20 06:54:38 -0700</bug_when>
    <thetext>Created attachment 205086
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>905058</commentid>
    <comment_count>7</comment_count>
      <attachid>205086</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-07-01 09:17:37 -0700</bug_when>
    <thetext>Comment on attachment 205086
Patch

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>905071</commentid>
    <comment_count>8</comment_count>
      <attachid>205086</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-07-01 09:38:43 -0700</bug_when>
    <thetext>Comment on attachment 205086
Patch

Clearing flags on attachment: 205086

Committed r152228: &lt;http://trac.webkit.org/changeset/152228&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>905072</commentid>
    <comment_count>9</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-07-01 09:38:45 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>905090</commentid>
    <comment_count>10</comment_count>
    <who name="">peavo</who>
    <bug_when>2013-07-01 10:29:41 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; (From update of attachment 205086 [details])
&gt; r=me

Thanks for reviewing!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>205081</attachid>
            <date>2013-06-20 06:37:03 -0700</date>
            <delta_ts>2013-06-20 06:54:30 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-117832-20130620153501.patch</filename>
            <type>text/plain</type>
            <size>2432</size>
            <attacher>peavo</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDE1MTc3NCkKKysrIFNvdXJjZS9XZWJDb3JlL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE3IEBACisyMDEzLTA2LTIwICBwZWF2b0Bv
dXRsb29rLmNvbSAgPHBlYXZvQG91dGxvb2suY29tPgorCisgICAgICAgIFtXaW5dIENyYXNoIHdo
ZW4gc2Nyb2xsaW5nIHBhZ2Ugd2l0aCBpbWFnZXMuCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJr
aXQub3JnL3Nob3dfYnVnLmNnaT9pZD0xMTc4MzIKKworICAgICAgICBSZXZpZXdlZCBieSBOT0JP
RFkgKE9PUFMhKS4KKworICAgICAgICBBdm9pZCBhY2Nlc3MgdmlvbGF0aW9uIGJ5IHJldHVybmlu
ZyBlYXJseSBmcm9tIG1ldGhvZCBpZiBpbWFnZSBmcmFtZSBkb2Vzbid0IGhhdmUgcGl4ZWwgZGF0
YS4KKworICAgICAgICAqIHBsYXRmb3JtL2ltYWdlLWRlY29kZXJzL0ltYWdlRGVjb2Rlci5oOgor
ICAgICAgICAoV2ViQ29yZTo6SW1hZ2VGcmFtZTo6aGFzUGl4ZWxEYXRhKTogQWRkZWQgbWV0aG9k
IHRvIGNoZWNrIGlmIGZyYW1lIGhhcyBwaXhlbCBkYXRhLgorICAgICAg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mZlcihmcmFtZUluZGV4KSB8fCAhYnVmZmVyLmhhc1BpeGVsRGF0YSgpKQogICAgICAg
ICByZXR1cm4gZmFsc2U7CiAKICAgICBJbWFnZUZyYW1lOjpQaXhlbERhdGEqIGN1cnJlbnRBZGRy
ZXNzID0gYnVmZmVyLmdldEFkZHIoeEJlZ2luLCB5QmVnaW4pOwo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>205086</attachid>
            <date>2013-06-20 06:54:38 -0700</date>
            <delta_ts>2013-07-01 09:38:43 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-117832-20130620155236.patch</filename>
            <type>text/plain</type>
            <size>2434</size>
            <attacher>peavo</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDE1MTc3NCkKKysrIFNvdXJjZS9XZWJDb3JlL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE3IEBACisyMDEzLTA2LTIwICBwZWF2b0Bv
dXRsb29rLmNvbSAgPHBlYXZvQG91dGxvb2suY29tPgorCisgICAgICAgIFtXaW5dIENyYXNoIHdo
ZW4gc2Nyb2xsaW5nIHBhZ2Ugd2l0aCBpbWFnZXMuCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJr
aXQub3JnL3Nob3dfYnVnLmNnaT9pZD0xMTc4MzIKKworICAgICAgICBSZXZpZXdlZCBieSBOT0JP
RFkgKE9PUFMhKS4KKworICAgICAgICBBdm9pZCBhY2Nlc3MgdmlvbGF0aW9uIGJ5IHJldHVybmlu
ZyBlYXJseSBmcm9tIG1ldGhvZCBpZiBpbWFnZSBmcmFtZSBkb2Vzbid0IGhhdmU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