The attached patch changes most of the usages of sprintf() to

Bruce Momjian <bruce@momjian.us>

Commit: 66eb8df6a4a04922e34dcb2dc543fe231b94903d
Author: Bruce Momjian <bruce@momjian.us>
Date: 2002-08-15T02:58:29Z
Releases: 7.3.1
The attached patch changes most of the usages of sprintf() to
snprintf() in contrib/. I didn't touch the places where pointer
arithmatic was being used, or other areas where the fix wasn't
trivial. I would think that few, if any, of the usages of sprintf()
were actually exploitable, but it's probably better to be paranoid...

Neil Conway

Files