> -----Original Message-----
> From: edk2-devel [mailto:[email protected]] On Behalf Of
> Ard Biesheuvel
> Sent: Wednesday, July 06, 2016 3:57 PM
> To: David Woodhouse
> Cc: Ye, Ting; [email protected]; Cohen, Eugene;
> [email protected]; Long, Qin
> Subject: Re: [edk2] [PATCH] CryptoPkg: update openssl to ignore RVCT 3079
> 
> On 6 July 2016 at 09:30, David Woodhouse <[email protected]> wrote:
> > On Tue, 2016-07-05 at 17:04 +0000, Long, Qin wrote:
> >> Yes, this unset issue was already fixed in OpenSSL HEAD.
> >> The patch is OK for me to ignore the warning for current 1.0.2
> >> version. Or we can backport some cleanups into our 1.0.2xx patch.
> >
> > My main concern is that we don't accumulate hacks and workarounds. So
> > add it to OpensslLib.inf by all means, but add a comment indicating
> > the specific issue (OpenSSL RT# under which it was fixed, and/or the
> > commit in OpenSSL HEAD Which fixed it), and that it's fixed in 1.1 so
> > can be dropped then.
> >
> > Otherwise this patch is just building up technical debt, because
> > *someone* later needs to clean these things up and make sure they're
> > not stale. Excessive warning-suppression in this code has *already*
> > led to subtle bugs which the warnings *would* have told us about.
> >
> 
> In general, I strongly agree with David's position here. However, I have
> encountered cases where RVCT's assign-before-reference diagnostics really
> get it wrong, and so I would not be opposed to disabling this particular
> warning globally (for RVCT).

Yeah, I also agree that we should try best to eliminate those 
warning-suppressions,
And keep the "warnings-as-errors".
Adding more comments (RT# or commit#) should be helpful for this case. 

Will also do more checks on 1.1-DEV enabling to eliminate this kind of cases. 

> _______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to