#5 Unnecessary buffer length concern

closed-fixed
dblink_plus (5)
5
2011-11-02
2011-11-02
No

dblink_plus specifies (sizeof(buf) - 1) for size parameter of snprintf and OCIGetError. But it's not necessary to decrease one byte for null-stop from those parameters.

Discussion

  • Shigeru Hanada

    Shigeru Hanada - 2011-11-02

    Removed unnecessary buffer length adjustment for null-stop byte.
    See commit 5b214ce0a3601df43b632c641f340538103891ac for details.

     
  • Shigeru Hanada

    Shigeru Hanada - 2011-11-02
    • status: open --> closed-fixed
     
  • Shigeru Hanada

    Shigeru Hanada - 2011-11-02
    • assigned_to: nobody --> shigeru-hanada