home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 48341 
 Rob Swindell (on Windows 11) to Git commit to main/sbbs/master 
 src/sbbs3/userdat.c 
 17 Dec 25 19:09:19 
 
TZUTC: -0800
MSGID: 53766.syncprog@1:103/705 2da97865
PID: Synchronet 3.21a-Linux master/c05a1c33b Dec 17 2025 GCC 12.2.0
TID: SBBSecho 3.33-Linux master/c05a1c33b Dec 17 2025 GCC 12.2.0
BBSID: VERT
CHRS: ASCII 1
FORMAT: flowed
https://gitlab.synchro.net/main/sbbs/-/commit/5ccd9e8ccc6fd0158c7228b6
Modified Files:
	src/sbbs3/userdat.c
Log Message:
Fix bug in subtract_cdt() handling free credit roll-under to regular credits

Bug introduced in commit 8deac23222b3a3db (copy/paste/typo)

Caught during manual code review.

When a user has any amount of free credits, but the amount being subtracted
was greater than their free credits available, the underflow was supposed to
be deducted from their regular credits. Instead, the underflow was (attempted)
to be deducted from their free credits, which were alreay zeroed.
--- SBBSecho 3.33-Linux
 * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
SEEN-BY: 10/0 1 102/401 103/705 105/81 106/201 124/5016 128/187 129/14
SEEN-BY: 153/7715 154/110 214/22 218/0 1 215 700 810 226/30 227/114
SEEN-BY: 229/110 134 206 317 400 426 428 470 700 705 266/512 280/464
SEEN-BY: 291/111 301/1 320/219 322/757 342/200 396/45 460/58 633/280
SEEN-BY: 712/848 902/26 5075/35
PATH: 103/705 218/700 229/426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca