Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#5 Unnecessary buffer length concern

closed-fixed
dblink_plus (5)
5
2011-11-02
2011-11-02
Shigeru Hanada
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