<?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>9249</bug_id>
          
          <creation_ts>2016-03-14 15:05:53 +0000</creation_ts>
          <short_desc>patchwork: test that CVE patches contain the proper formatting</short_desc>
          <delta_ts>2017-12-06 16:52:16 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Patchwork/Patchtest</product>
          <component>Patchwork</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 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</reporter>
          <assigned_to name="Mariano Lopez">mariano.lopez</assigned_to>
          <cc>alejandro.franco</cc>
    
    <cc>jose.perez.carranza</cc>
    
    <cc>mariano.lopez</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>59941</commentid>
    <comment_count>0</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-03-14 15:05:53 +0000</bug_when>
    <thetext>CVE patchtes sent to the openembedded mailing list should be tested with patchtest/patchwork for proper format. Proper format at least means indicating the CVE number in the summary and the string &apos;CVE: CVE-&lt;number&gt;&apos; in the patch description area. An example for correct formatting would be

http://patchwork.openembedded.org/patch/117791/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59946</commentid>
    <comment_count>1</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-03-14 17:09:53 +0000</bug_when>
    <thetext>A link that shows how to create a CVE patch:

http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines#CVE_Patches</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62962</commentid>
    <comment_count>2</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-06-14 14:14:42 +0000</bug_when>
    <thetext>Expected to be finished early 2.2M2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63309</commentid>
    <comment_count>3</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-06-23 19:51:52 +0000</bug_when>
    <thetext>My fault, moving it to M1 again. CCB should agree on any milestone movement.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63556</commentid>
    <comment_count>4</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-06-30 20:31:51 +0000</bug_when>
    <thetext>This is already implemented but not tested.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63787</commentid>
    <comment_count>5</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2016-07-11 13:19:26 +0000</bug_when>
    <thetext>Sent patches to Leo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64278</commentid>
    <comment_count>6</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-07-21 16:34:36 +0000</bug_when>
    <thetext>This check is already implemented on the patchtest-oe suite. The way to validate this check is through &apos;selftest&apos; implemented on patchtest-oe repo

+ clone patchtest and patchtest-oe (right now these are not public), follow patchtest-oe setup instructions
+ run the following cmd:
        cd $patchtest-oe/selftest; ./selftest
+ expected output: no output should be seen on console</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>