-
sommerfeld
in practice the only values of x betweeen 128 and 255 where ((1 + x) & 0x7f) != 1 + (x & 0x7f) are 128 and 255
-
sommerfeld
(we know tag is in that range)
-
sommerfeld
doesn't look like you can do much mischief with a maliciously crafted packet, though.
-
sommerfeld
okay, the incorrect offset value you get is 0, so it then looks to fetch buf[1] again and check if it is 0x02.
-
sommerfeld
okay, I'm nearly certain this is a harmless error that has zero impact on legit ldap traffic and can not be exploited.
-
sommerfeld
just by pure dumb luck the 1 + tag & 0x7f computes the correct value for any of the likely length-of-length bytes you'd see in real traffic (0x81, 0x82, 0x83, or 0x84).
-
sommerfeld
(I don't know ldap but I did beat my head against ASN.1 BER and DER for a while....)
-
tsoome
sommerfeld hopefully all the damage has been healed...
-
Agnar
can someone tell me how I build components from usr/src/cmd/ individually? i.e. vi for example?
-
tsoome
if you have done nightly before on this tree, then start bldenv and then you can run make manually
-
tsoome
bldenv does not build dependencies for you, making in cmd implies you have built and installed libraries
-
Agnar
ah ok
-
tsoome
you can get them built manually too -- after bldenv, cd usr/src; dmake setup, then cd lib; dmake install
-
tsoome
but it is easier to have one nightly done before;)
-
Agnar
yeah, bldenv was the secret ;)
-
Agnar
thank you very much
-
tsoome
yw
-
Agnar
cw...does that mean "compiler wrapper"?
-
tsoome
yes
-
tsoome
well, or C wrapper:D
-
tsoome
because we also had aw
-
Agnar
ah
-
Agnar
Now I'm fighting my way through the makefiles to figure out where it decides to build vi 32bit only.
-
otis
where... somewhere deep in the makefiles :-P
-
yuripv
it's just missing the Makefile.cmd.64 include, you have to say explicitly that you want 64bit build (for the moment)
-
Agnar
ah!
-
Agnar
that's the trick
-
Agnar
I found that file
-
Agnar
great, thanks yuripv - now I know how to proceed :0
-
Agnar
:)
-
tsoome
making vi great again?
-
Agnar
making it 64bit ;)
-
Agnar
so it can benefit from the features of the sparcv9 architecture! ;)
-
hadfl
sommerfeld, i think the terms are even equal for 0x80, just differing for 0xff
-
sommerfeld
oh, oops, misread my test program output which started at 0. In 0..255, differing only for 127 and 255
-
sommerfeld
thank you for checking my work
-
nomad
I was cleaning out some boxes in my garage recently and came across a SPARCstation LX. I haven't plugged it in, no idea what state it's in but if anyone wants it its yours for the cost of shipping.
-
sommerfeld
hadfl: Thank you. I updated the bug with the correction.
-
Woodstock
nomad: shipping from where?
-
nomad
US Pacific NW
-
Woodstock
mkay. thats too far away :)
-
» nomad nods
-
nomad
Out of curiosity I just popped the case open. I didn't see any electrolyte or battery splooge but lets just say the shiny metal bits ain't shiny nomo.