[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#828812: apt: buffer overrun in ListParser::VersionHash()



jtc@acorntoolworks.com (J.T. Conklin) writes:
> The odd thing is... I've checked to confirm that our packages use ">="
> instead of ">". Since I didn't have a chance to rebuild with symbols, my
> assumption had been that some higher layer code was normalizing "<=" and
> ">=" to the old format, and ListParser::VersionHash() was re-normalizing
> them.

While driving to work this morning, I ran through the code in my head.
I think my problem is "<<" is "normalized" into "<<=".  Your new code
handles that case as well.

    --jtc


Reply to: