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

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>9550</bug_id>
          
          <creation_ts>2016-04-28 10:48:04 +0000</creation_ts>
          <short_desc>Resolve string formatting issues in stat</short_desc>
          <delta_ts>2016-05-19 15:22:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>2.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Lock">joshuagloe</reporter>
          <assigned_to name="Plauchu Edwin">edwin.plauchu.camacho</assigned_to>
          <cc>elena.reshetova</cc>
    
    <cc>leonardo.sandoval.gonzalez</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>61782</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-04-28 10:48:04 +0000</bug_when>
    <thetext>stat fails to compile with compiler flags which elevate common string formatting issues into an error (-Wformat -Wformat-security -Werror=format-security).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62021</commentid>
    <comment_count>1</comment_count>
    <who name="Plauchu Edwin">edwin.plauchu.camacho</who>
    <bug_when>2016-05-06 16:24:33 +0000</bug_when>
    <thetext>is it stat of busybox ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62037</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-05-09 09:48:47 +0000</bug_when>
    <thetext>No,(In reply to comment #1)
&gt; is it stat of busybox ?

No, it&apos;s stat_3.3.bb in meta/recipes-extended/stat/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62059</commentid>
    <comment_count>3</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-05-09 23:40:55 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; is it stat of busybox ?

Edwin,

Take a look a this bug: 

  https://bugzilla.yoctoproject.org/show_bug.cgi?id=9488


One way patch the repo is  with this

  curl http://patchwork.openembedded.org/patch/121119/mbox/ | git am

ALSO, and comment out 

  SECURITY_STRINGFORMAT_pn-gcc = &quot;&quot; 

then Change your DISTRO to &quot;poky-lsb&quot; on local.conf.

And launch a build. You should see warnings as mentioned on 9488.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62229</commentid>
    <comment_count>4</comment_count>
    <who name="Plauchu Edwin">edwin.plauchu.camacho</who>
    <bug_when>2016-05-16 20:44:30 +0000</bug_when>
    <thetext>Patch created at
http://lists.openembedded.org/pipermail/openembedded-core/2016-May/121570.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62237</commentid>
    <comment_count>5</comment_count>
    <who name="Plauchu Edwin">edwin.plauchu.camacho</who>
    <bug_when>2016-05-17 00:23:27 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; Patch created at
&gt; http://lists.openembedded.org/pipermail/openembedded-core/2016-May/121570.
&gt; html

Version without macro
http://lists.openembedded.org/pipermail/openembedded-core/2016-May/121581.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62239</commentid>
    <comment_count>6</comment_count>
    <who name="Plauchu Edwin">edwin.plauchu.camacho</who>
    <bug_when>2016-05-17 02:16:44 +0000</bug_when>
    <thetext>This is the version with fputs calls
http://lists.openembedded.org/pipermail/openembedded-core/2016-May/121584.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62257</commentid>
    <comment_count>7</comment_count>
    <who name="Plauchu Edwin">edwin.plauchu.camacho</who>
    <bug_when>2016-05-17 17:03:34 +0000</bug_when>
    <thetext>Patch version 2 was created at http://lists.openembedded.org/pipermail/openembedded-core/2016-May/121630.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62261</commentid>
    <comment_count>8</comment_count>
    <who name="Plauchu Edwin">edwin.plauchu.camacho</who>
    <bug_when>2016-05-17 19:28:55 +0000</bug_when>
    <thetext>Patch version 3 at
http://lists.openembedded.org/pipermail/openembedded-core/2016-May/121639.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62330</commentid>
    <comment_count>9</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-05-19 15:22:08 +0000</bug_when>
    <thetext>Fixed in oe-core f03c1f41933e9997a01a8b1dcdf9fb18579de1d1.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>