Skip to content

Commit ccef37f

Browse files
Update Patch Reference
1 parent ac4a969 commit ccef37f

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

toolkit/docs/CVE/CVE-Quickstart-Guide.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -89,23 +89,17 @@ This document provides a step-by-step guide to fixing CVE patches for Azure Linu
8989
```bash
9090
git diff
9191
git add -u
92-
git commit -m "Address CVE-xxxx-yyyy"
92+
```
93+
- Include the Upstream Patch Reference in the newly generated patch file after the subject:
94+
```bash
95+
git commit -m "Patch CVE-xxxx-yyyy" -m "Upstream Patch Reference: <link>"
9396
```
9497
4. Create a new patch file:
9598
```bash
9699
git log --oneline
97100
git format-patch -1 HEAD
98101
mv <patch-name>.patch CVE-xxxx-yyyy.patch
99102
```
100-
- Include the patch source link in the newly generated patch file after the subject:
101-
```plaintext
102-
Upstream Reference Link: <link>
103-
```
104-
- If it's a backported patch, mention it with the upstream reference link used for backporting.
105-
```plaintext
106-
Upstream Reference Link: <link>
107-
```
108-
109103
---
110104

111105
### **6. Update the Repository**

0 commit comments

Comments
 (0)