Skip to content

Commit

Permalink
Merge pull request #294 from jbevemyr/jbevemyr/apply-msquic-fix
Browse files Browse the repository at this point in the history
Apply buffer overwrite fix from later msquic builds.
  • Loading branch information
qzhuyan authored Sep 17, 2024
2 parents 6766470 + e3e3425 commit bc50756
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions get-msquic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ patch_2_2_3()
do_patch "$patch_2"
}

patch_2_3_5()
{
local patch_1="https://github.com/microsoft/msquic/commit/12edf3725475d4a99e5598df3289bace47b8f56e.patch"
mkdir -p "$patch_dir"
echo "Patching Msquic 2.3.5"
do_patch "$patch_1"
}


if [ ! -d msquic ]; then
git clone https://github.com/microsoft/msquic.git -b "$VERSION" --recursive --depth 1 --shallow-submodules msquic
Expand All @@ -50,4 +58,8 @@ fi
case $VERSION in
v2.2.3)
patch_2_2_3
;;
v2.3.5)
patch_2_3_5
;;
esac

0 comments on commit bc50756

Please sign in to comment.