91,632 karma · joined Dec 8, 2013 (12y ago) · 22,278 submissions
comment 2d ago · link · parent
Fanfiction has always existed, albeit in written form, but copyright takedowns are almost unheard of. The gray area is definitely getting bigger, and AI is effectively showing everyone that everything is a derivative work to some extent. I suspect we'll see a massive shift in the general sentiment around IP in the near future.
comment 4d ago · link · parent
I wonder if this skill is one that comes naturally for some people, but is difficult and/or nonintuitive for others; perhaps it's related to the ability to imagine and mentally manipulate 3D objects in one's own mind, and translate between that and a 2D view. In the last century, when AutoCAD was one of the most pirated warez along with Photoshop, I had no trouble using the former to model various things I happened to have around, with just a bit of exploratory play and some reading of the online help.
comment 4d ago · link · parent
Then again, given that I once had to respond to a report which assigned a similar amount of severity to the strlen() function claiming that it will read beyond its bounds if its input is missing a null terminator (DUH!), I'm not surprised at the lack of critical thought among a certain population in this industry.
comment 4d ago · link · parent
If there is no fixed relationship between the two, then that makes sense; but in this case there is a very simple and well-defined relationship between them. But to specify two lengths which must always agree; and if not, then what? You've effectively invented an additional artificial error condition, an additional branch, and burdened all the callers up the chain to do something, which is a treacherous path to complexity and the production of even more bugs.
Or are you just preaching the same mindless idiocy that lead to Microsoft's memcpy_s() (the "s" is for "stupid")?
comment 4d ago · link · parent
For those wondering about TLS: speaking as someone who has written a TLS implementation, AFAIK neither base64 encoding nor decoding occurs in the protocol itself, and the longest length field is 24 bits (Hello stream). Certificate processing involves ASN.1 which does support arbitrarily-long integers, but that's a big hint to check that they're within a sensical range.
comment 4d ago · link · parent
...on a system where ints are 32 bits. The bottom line is that this doesn't appear to be easily exploitable and IMHO it should be the callers of EVP_EncodeBlock which need to be inspected to determine the actual risk.
using a nontrivial formula
It's base64. 4/3 expansion; round it up and add padding. What's "nontrivial" about that?
and the caller does not pass in the output buffer length, so the implementation cannot validate it
Not necessary, because the caller is responsible for allocation.
comment 5d ago · link · parent
The only exception is IBM, which used both BE bit and byte numbering. (Bit 0 is the most significant bit, and its value depends on the width of the data in question --- exposing the major disadvantage of BE, i.e. a length-dependent term.)
An old adage I've heard and found useful: "Little endian is Logical; Big endian is Backwards."
comment 5d ago · link · parent
https://www.os2museum.com/wp/will-the-real-real-mode-please-...
comment 5d ago · link · parent
On the bright side, perhaps "security review" of code which involves throwing it at an AI and fixing what it finds before releasing will become a normal practice.
"There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies." - C.A.R. Hoare
comment 1w ago · link · parent
Actually that's exactly the type of complaints I've heard from those who upgraded to FTTH. My understanding is that fiber is a lot more fragile than copper, and installation and testing requires significantly more expensive equipment, although it is cheaper for longer distances and theoretically capable of higher bandwidth (but the transceivers on each end are also a significant part of the cost.)
comment 1w ago · link · parent
You can get symmetric DOCSIS, and apparently Comcast do offer that service[1]. Likewise, FTTH can be asymmetric if they set the traffic shaping that way. IMHO the only things that matter to the average user about an Internet connection are bandwidth, volume, and availability. As long as it terminates in WiFi or a standard Ethernet connector and passes IP traffic at the rate I paid for, I personally don't care what the physical infrastructure beyond the demarc is.
In fact, anecdotes from a few people I know have been that service interruptions actually increased after they upgraded to FTTH from DOCSIS.
[1] https://corporate.comcast.com/press/releases/comcast-multi-g...
comment 1w ago · link · parent