From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f73.google.com (mail-pj1-f73.google.com [209.85.216.73]) by mx.groups.io with SMTP id smtpd.web10.5245.1664351366503110470 for ; Wed, 28 Sep 2022 00:49:26 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@google.com header.s=20210112 header.b=Rhj009Sa; spf=pass (domain: flex--yuanyu.bounces.google.com, ip: 209.85.216.73, mailfrom: 3hfwzywykbw4kgmzkgsaasxq.oaypqhqxqpwo.sdagbe.ua@flex--yuanyu.bounces.google.com) Received: by mail-pj1-f73.google.com with SMTP id rw5-20020a17090b2c4500b00203182a71baso4734991pjb.1 for ; Wed, 28 Sep 2022 00:49:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date; bh=1oWinqMFQoiIE0BuWkmm2w8k39ieZhncL0QG6cyVD5I=; b=Rhj009SaxFuPMsCnM0R9XMrbQhp39SOoCX3kVPczHR2nqIt73+oZECDnoUy/OHlNaI KOG/a17582O1vA+pu+XRS0i4HW0h3Kfk9bU4cy84cWgrAE1qSpHp3Sx9Pp6E4fXfnAmY Bj840g1Go+cFurbgyL1fR/K0gL5RZ5LOyJaOySG17poJ/LTpfhlZBosu9lAiohPll+bM c5k4cnmDbM2DHXeIoTeTkBHJZvgSr6BOA+SkzKUnoVjWyLKiTgvB2He/vFUK/cC6rofR ITbMitPhFFj/Hnfdw6oex+8Jn49heQAo2gdYfKQYYh9jt7DxYzci1O5TRdA46c6+aXbP nc0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date; bh=1oWinqMFQoiIE0BuWkmm2w8k39ieZhncL0QG6cyVD5I=; b=HxDl4/lZLBgJkDF+eGUlbOdMJnVS3dIBFsoM26KVKT8I/Y8n5S/w0oumj6r0PgH+SJ K0SKfD4eqTmSIc2k6jiNoxzwHr51FcOuXCtdK0rRqfEldj/zsQ2t6Pl6vMWVkLusQkcQ ArVkXKaXk+Ib/S/8dTtqPHjIkKjTklS6MvettCrbajch8ssN0nWMwLrp6kfgeFzF19Q1 HpXV9/RxMI91ts8IrbkwhCqxjOZ1jJCw8Qsq5HLSUKEpZ/CLH91IqCz8ulxakJ5nSBvA RSqQ8q2mMqNDSTMgTh28APOFvdjs9HSHUmSAjQO612flOjhSVsVPPkKW/Cb1bSWUTDNH cFTw== X-Gm-Message-State: ACrzQf3ZeXJVcaxaFK9BL/Wr2NSQtSn2ivvimWEEARduDg4fmoR+oySO hq3jREE/x+5BRXiqkPlxjsIjlDioSQXzsNHEhs/5WVqxE4EbRs8SoAI7DKALQ3GpQIuE72XzNC/ 5RcHKJaxxibzPmzDXMAzBN3Zwpa/URZh1yUUkeOhn9+eK33g4D58AerARvLY= X-Google-Smtp-Source: AMsMyM4rtmf/b3Jhraw3CGHYRhEvQ+Uk1s9OnPwLPopX9ixOBPnGBH5ZKdrjXm+JIcqcLti/1Pt87eeRBKk= X-Received: from yuanyu.kir.corp.google.com ([2620:15c:29:204:723d:1dc4:5886:3bcf]) (user=yuanyu job=sendgmr) by 2002:a17:90a:2b0c:b0:203:b7b1:2ba2 with SMTP id x12-20020a17090a2b0c00b00203b7b12ba2mr9128811pjc.34.1664351365806; Wed, 28 Sep 2022 00:49:25 -0700 (PDT) Date: Wed, 28 Sep 2022 00:49:23 -0700 Mime-Version: 1.0 X-Mailer: git-send-email 2.37.3.998.g577e59143f-goog Message-ID: <20220928074924.528583-1-yuanyu@google.com> Subject: [PATCH v1 0/1] Fix integer overflow in CryptoPkg From: "Yuan Yu" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Jordan Justen , Laszlo Ersek , Anthony Perard , Julien Grall Content-Type: text/plain; charset="UTF-8" Some value uses UINT16 which is not wide enough to hold the values that it is supposed to hold. This series fix it by using UINT32. The changes can be seen at: https://github.com/yyu/edk2/tree/overflow_fix_v1 Cc: Ard Biesheuvel Cc: Jordan Justen Cc: Laszlo Ersek Cc: Anthony Perard Cc: Julien Grall Yuan Yu (1): CryptoPkg: Fix integer overflow CryptoPkg/Library/BaseCryptLib/SysCall/TimerWrapper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.37.3.998.g577e59143f-goog