git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: de85dd1) | patch
Fix misuse of StrNCpy to copy and add null to non-null-terminated data.
Fri, 7 Jul 2000 21:12:53 +0000 (21:12 +0000)
Fri, 7 Jul 2000 21:12:53 +0000 (21:12 +0000)
commit 65da0d66b4e89951078ebc43a5343780e4e700d6
Fix misuse of StrNCpy to copy and add null to non-null-terminated data.
Does not work since it fetches one byte beyond the source data, and when
the phase of the moon is wrong, the source data is smack up against the
end of backend memory and you get SIGSEGV. Don't laugh, this is a fix
for an actual user bug report.
contrib/miscutil/misc_utils.c diff | blob | blame | history
src/backend/libpq/be-fsstubs.c diff | blob | blame | history
src/backend/libpq/be-pqexec.c diff | blob | blame | history
src/backend/port/dynloader/aix.c diff | blob | blame | history
src/backend/utils/adt/like.c diff | blob | blame | history
src/backend/utils/adt/not_in.c diff | blob | blame | history
src/backend/utils/adt/regexp.c diff | blob | blame | history
src/backend/utils/adt/varchar.c diff | blob | blame | history
src/include/c.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /