2009-07-16 19:30 UTC-0800 Brian Hays <bhays/at/abacuslaw.com>

  * contrib\rdd_ads\ads1.c

    * fixed buffer handling for adsScopeSet and GetValue and related funcs.

      Since way back, buffers were short by 1 byte, and ace calls were

      throwing errors that were essentially ignored. It only worked because
the

      one missing byte was of course the trailing null. But all errors other

      than "eof" were ignored.

 

      Fix provided by Przemyslaw Czerpak (Thanks!) based on:

      2009-05-14 19:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

      * harbour/contrib/rddads/ads1.c

         ! fixed minimal record buffer size calculation

         ! fixed adsGetValue() method hacked to not report errors due to too

            small field buffer.

            Warning! Now ADS RDD will report any error as RTE if sth wrong

            will happen in one of AdsGet*() function when field is read so

            it's possible that also some other hidden bugs will be exploited

            and you will see RTE. Please test it.

 

 

--

Brian Hays

 

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to