1. Go 1.20.2 發(fā)布了~

        共 923字,需瀏覽 2分鐘

         ·

        2023-03-11 02:43

        點(diǎn)擊上方藍(lán)色“Go語(yǔ)言中文網(wǎng)”關(guān)注,每天一起學(xué) Go

        今早,Go 官方發(fā)布了兩個(gè)小版本:Go1.20.2 和 Go1.19.7,主要是因?yàn)橛幸粋€(gè)安全問(wèn)題。不過(guò)同時(shí)進(jìn)行了一些 Bugfix。

        安全問(wèn)題是 crypto/elliptic 包。

        • crypto/elliptic: incorrect P-256 ScalarMult and ScalarBaseMult results

          The ScalarMult and ScalarBaseMult methods of the P256 Curve may return an incorrect result if called with some specific unreduced scalars (a scalar larger than the order of the curve).

          This does not impact usages of crypto/ecdsa or crypto/ecdh.

        詳見 issue:https://go.dev/issue/58647。

        此外,還進(jìn)行了一些 Bug 的修復(fù),Go1.20.2 版本 Close 的 issue 有 17 個(gè) :https://github.com/golang/go/issues?q=milestone%3AGo1.20.2+label%3ACherryPickApproved,1.19.7 版本 Close 的 issue 有 7 個(gè):https://github.com/golang/go/issues?q=milestone%3AGo1.19.7+label%3ACherryPickApproved。

        跟之前一樣,Go 語(yǔ)言中文網(wǎng)準(zhǔn)備好了安裝包:https://studygolang.com/dl。

        你也可以使用你喜歡的方式升級(jí)試用,或用官方給出的方式試用:



        推薦閱讀


        福利

        我為大家整理了一份從入門到進(jìn)階的Go學(xué)習(xí)資料禮包,包含學(xué)習(xí)建議:入門看什么,進(jìn)階看什么。關(guān)注公眾號(hào) 「polarisxu」,回復(fù) ebook 獲?。贿€可以回復(fù)「進(jìn)群」,和數(shù)萬(wàn) Gopher 交流學(xué)習(xí)。


        瀏覽 44
        點(diǎn)贊
        評(píng)論
        收藏
        分享

        手機(jī)掃一掃分享

        分享
        舉報(bào)
        評(píng)論
        圖片
        表情
        推薦
        點(diǎn)贊
        評(píng)論
        收藏
        分享

        手機(jī)掃一掃分享

        分享
        舉報(bào)
          
          

            1. 久久一次 | 美女又爽又黄视频毛茸茸 | 97超碰.com | 男人女人黄色片 | 丰满秘书高清大乳在线观看0 |