[llvm] r225386 - Fix uninitialized memory read in llvm-dsymutil for the second time.
Alexey Samsonov
vonosmas at gmail.com
Wed Jan 7 13:27:46 PST 2015
On Wed, Jan 7, 2015 at 1:21 PM, Frédéric Riss <friss at apple.com> wrote:
>
> > On Jan 7, 2015, at 1:13 PM, Alexey Samsonov <vonosmas at gmail.com> wrote:
> >
> > Author: samsonov
> > Date: Wed Jan 7 15:13:30 2015
> > New Revision: 225386
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=225386&view=rev
> > Log:
> > Fix uninitialized memory read in llvm-dsymutil for the second time.
> >
> > This was already fixed by r224481, but apparently was accidentally
> > reverted in r225207.
>
> Thanks and sorry about that, I must have messed up the merge when rebasing
> (although I don’t remember having to merge at all...). I suppose this got
> caught by the ASAN bots, don’t they send mail notifications, because I
> didn’t get anything?
>
Right, this was caught by MSan bootstrap bot, but it didn't send
notification because of pre-existing failures. I will hopefully make it
back green soon.
>
> Fred
>
> > Modified:
> > llvm/trunk/tools/dsymutil/MachODebugMapParser.cpp
> >
> > Modified: llvm/trunk/tools/dsymutil/MachODebugMapParser.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/dsymutil/MachODebugMapParser.cpp?rev=225386&r1=225385&r2=225386&view=diff
> >
> ==============================================================================
> > --- llvm/trunk/tools/dsymutil/MachODebugMapParser.cpp (original)
> > +++ llvm/trunk/tools/dsymutil/MachODebugMapParser.cpp Wed Jan 7
> 15:13:30 2015
> > @@ -24,7 +24,8 @@ public:
> > MachODebugMapParser(StringRef BinaryPath, StringRef PathPrefix = "",
> > bool Verbose = false)
> > : BinaryPath(BinaryPath), PathPrefix(PathPrefix),
> > - MainBinaryHolder(Verbose), CurrentObjectHolder(Verbose) {}
> > + MainBinaryHolder(Verbose), CurrentObjectHolder(Verbose),
> > + CurrentDebugMapObject(nullptr) {}
> >
> > /// \brief Parses and returns the DebugMap of the input binary.
> > /// \returns an error in case the provided BinaryPath doesn't exist
> >
> >
> > _______________________________________________
> > llvm-commits mailing list
> > llvm-commits at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
--
Alexey Samsonov
vonosmas at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150107/888a7018/attachment.html>
More information about the llvm-commits
mailing list