Skip to contentSkip to conversation

swsusp: fix off-by-one memory overwriting

DISCUSSION Pavel Machek 1 participant 1 message Mar 12, 2002

lore
Share & tools
lore
#0 lore raw

Hi!

Shaun Jackman found an nasty bug where swsusp would overwrite first byte of a page.... (strcpy vs. memcpy).

Untested patch attached (still have to fix the filesystem).
Pavel

Signature · 2 lines
(about SSSCA) "I don't say this lightly.  However, I really think that the U.S.
no longer is classifiable as a democracy, but rather as a plutocracy." --hpa